[root@k8s-0 ~]# kubectl get cs
NAME AGE
controller-manager
scheduler
etcd-0
[root@k8s-0 ~]# kubectl get pods -n kube-system -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
coredns-58cc8c89f4-dsx6v 0/1 Pending 0 32m
coredns-58cc8c89f4-vcnsm 0/1 Pending 0 32m
etcd-k8s-0 1/1 Running 0 31m 192.168.111.7 k8s-0
kube-apiserver-k8s-0 1/1 Running 0 31m 192.168.111.7 k8s-0
kube-controller-manager-k8s-0 1/1 Running 0 31m 192.168.111.7 k8s-0
kube-proxy-7lkr9 1/1 Running 0 32m 192.168.111.7 k8s-0
kube-proxy-8hvwh 1/1 Running 0 23m 192.168.111.70 k8s-01
kube-scheduler-k8s-0 1/1 Running 0 31m 192.168.111.7 k8s-0
[root@k8s-0 ~]#
still4年前 (2019-11-08)登录以回复