一、驗證服務
[root@test-nodes1 etcd]# kubectl get cs
NAME STATUS MESSAGE ERROR
scheduler Healthy ok
controller-manager Healthy ok
etcd-2 Healthy {"health": "true"}
etcd-1 Healthy {"health": "true"}
etcd-0 Healthy {"health": "true"}
[root@test-nodes1 etcd]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
test-nodes1.cedarhd.com Ready master,node 25h v1.15.2
test-nodes2.cedarhd.com Ready master,node 25h v1.15.2
[root@test-nodes1 etcd]# kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-ds1-qg45q 1/1 Running 0 24h
nginx-ds1-whnmv 1/1 Running 0 24h