[root@master1 ~]# kubectl get pod -n kubernetes-dashboard
NAME READY STATUS RESTARTS AGE
dashboard-metrics-scraper-7b59f7d4df-qr7gv 1/1 Running 0 139m
kubernetes-dashboard-74d688b6bc-ktnwt 1/1 Running 0 139m
[root@master1 ~]# kubectl get rs -n kubernetes-dashboard
NAME DESIRED CURRENT READY AGE
dashboard-metrics-scraper-7b59f7d4df 1 1 1 140m
kubernetes-dashboard-74d688b6bc 1 1 1 140m
[root@master1 ~]# kubectl get deploy -n kubernetes-dashboard
NAME READY UP-TO-DATE AVAILABLE AGE
dashboard-metrics-scraper 1/1 1 1 140m
kubernetes-dashboard 1/1 1 1 140m
kubectl get node 查看node状态
kubectl describe node 可以看node的详细信息
查看pod的日志
kubectl logs podname -n namespace