一、集群可用性验证:查看现有资源信息
### --- 查询集群中所有namespace下的容器
[root@k8s-master01 ~]# kubectl get po --all-namespaces -owide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-system calico-kube-controllers-cdd5755b9-9dtk4 1/1 Running 0 3m38s 192.168.1.11 k8s-master01 <none> <none>
kube-system calico-node-jsprh 1/1 Running 0 107m 192.168.1.12 k8s-master02 <none> <none>
kube-system calico-node-n97ff 1/1 Running 0 107m 192.168.1.11 k8s-master01 <none> <none>
kube-system calico-node-tk4kz 1/1 Running 1 107m 192.168.1.15 k8s-node02 <none> <none>
kube-system calico-node-vfcxf 1/1 Running 0 107m 192.168.1.13 k8s-master03 <none> <none>
kube-system calico-node-wvwbh 1/1 Running 0 107m 192.168.1.14 k8s-node01 <none> <none>
kube-system coredns-6f6b8cc4f6-bxsh9 1/1 Running 0 3m38s 172.162.195.2 k8s-master03 <none> <none>
kube-system coredns-6f6b8cc4f6-p55bx 1/1 Running 0 3m38s 172.162.195.1 k8s-master03 <none> <none>
kube-system etcd-k8s-master01 1/1 Running 0 173m 192.168.1.11 k8s-master01 <none> <none>
kube-system etcd-k8s-master02 1/1 Running 0 152m 192.168.1.12 k8s-master02 <none> <none>
kube-system etcd-k8s-master03