K8S集羣安裝 之 驗證服務

一、驗證服務

[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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章