kubeadm 集群安装后状态
作者:互联网
[root@k8s-master01 ~]# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-56fcbf9d6b-f8tfh 1/1 Running 0 39m
kube-system calico-node-ck5nh 1/1 Running 0 90s
kube-system calico-node-hthvn 1/1 Running 0 2m14s
kube-system calico-node-w6ccp 1/1 Running 0 39m
kube-system coredns-6d8c4cb4d-8j6hl 1/1 Running 0 100m
kube-system coredns-6d8c4cb4d-b8jq4 1/1 Running 0 100m
kube-system etcd-k8s-master01 1/1 Running 1 101m
kube-system kube-apiserver-k8s-master01 1/1 Running 1 101m
kube-system kube-controller-manager-k8s-master01 1/1 Running 1 101m
kube-system kube-proxy-8s9xv 1/1 Running 0 90s
kube-system kube-proxy-lcsdz 1/1 Running 0 100m
kube-system kube-proxy-rgt24 1/1 Running 0 2m14s
kube-system kube-scheduler-k8s-master01 1/1 Running 1 101m
tigera-operator tigera-operator-b876f5799-cl57k 1/1 Running 0 95m
[root@k8s-master01 ~]# kubectl get pods -o wide --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-system calico-kube-controllers-56fcbf9d6b-f8tfh 1/1 Running 0 39m 10.244.32.131 k8s-master01 <none> <none>
kube-system calico-node-ck5nh 1/1 Running 0 101s 172.16.59.31 k8s-node01 <none> <none>
kube-system calico-node-hthvn 1/1 Running 0 2m25s 172.16.59.32 k8s-node02 <none> <none>
kube-system calico-node-w6ccp 1/1 Running 0 39m 172.16.59.30 k8s-master01 <none> <none>
kube-system coredns-6d8c4cb4d-8j6hl 1/1 Running 0 100m 10.244.32.129 k8s-master01 <none> <none>
kube-system coredns-6d8c4cb4d-b8jq4 1/1 Running 0 100m 10.244.32.130 k8s-master01 <none> <none>
kube-system etcd-k8s-master01 1/1 Running 1 101m 172.16.59.30 k8s-master01 <none> <none>
kube-system kube-apiserver-k8s-master01 1/1 Running 1 101m 172.16.59.30 k8s-master01 <none> <none>
kube-system kube-controller-manager-k8s-master01 1/1 Running 1 101m 172.16.59.30 k8s-master01 <none> <none>
kube-system kube-proxy-8s9xv 1/1 Running 0 101s 172.16.59.31 k8s-node01 <none> <none>
kube-system kube-proxy-lcsdz 1/1 Running 0 100m 172.16.59.30 k8s-master01 <none> <none>
kube-system kube-proxy-rgt24 1/1 Running 0 2m25s 172.16.59.32 k8s-node02 <none> <none>
kube-system kube-scheduler-k8s-master01 1/1 Running 1 101m 172.16.59.30 k8s-master01 <none> <none>
tigera-operator tigera-operator-b876f5799-cl57k 1/1 Running 0 95m 172.16.59.30 k8s-master01 <none> <none>
[root@k8s-master01 ~]# kubectl get node
NAME STATUS ROLES AGE VERSION
k8s-master01 Ready control-plane,master 101m v1.23.5
k8s-node01 Ready <none> 2m21s v1.23.5
k8s-node02 Ready <none> 3m5s v1.23.5
[root@k8s-master01 ~]# kubectl get node --show-labels
NAME STATUS ROLES AGE VERSION LABELS
k8s-master01 Ready control-plane,master 101m v1.23.5 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=k8s-master01,kubernetes.io/os=linux,node-role.kubernetes.io/control-plane=,node-role.kubernetes.io/master=,node.kubernetes.io/exclude-from-external-load-balancers=
k8s-node01 Ready <none> 2m24s v1.23.5 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=k8s-node01,kubernetes.io/os=linux
k8s-node02 Ready <none> 3m8s v1.23.5 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=k8s-node02,kubernetes.io/os=linux
[root@k8s-master01 ~]#
标签:kube,master01,system,Running,集群,io,kubeadm,k8s,安装 来源: https://www.cnblogs.com/heidsoft/p/16095508.html