docker log

kubectl get pods --namespace=kube-system -o wide

 

NAME                                   READY     STATUS             RESTARTS   AGE       IP             NODE
kube-apiserver-172.30.1.100            1/1       Running             0         3m        172.30.1.100   172.30.1.100
kube-controller-manager-172.30.1.100   1/1       Running             7         3h        172.30.1.100   172.30.1.100
kube-dns-v20-gg303                     2/3       CrashLoopBackOff   56         1h        10.2.68.2      172.30.1.101
kube-proxy-172.30.1.100                1/1       Running             3         3h        172.30.1.100   172.30.1.100
kube-proxy-172.30.1.101                1/1       Running             2         3h        172.30.1.101   172.30.1.101
kube-proxy-172.30.1.102                1/1       Running             2         3h        172.30.1.102   172.30.1.102
kube-proxy-172.30.1.103                1/1       Running             2         3h        172.30.1.103   172.30.1.103
kube-scheduler-172.30.1.100            1/1       Running             5         3h        172.30.1.100   172.30.1.100
kubernetes-dashboard-v1.6.0-p98p6      0/1       CrashLoopBackOff   24         1h        10.2.2.2       172.30.1.102

kubectl describe pods kube-dns-v20-gg303 --namespace=kube-system

  

systemctl status kubelet

kubectl describe service kube-dns --namespace=kube-system

kubectl describe svc kubernetes

kubectl logs --namespace=kube-system $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -o name) -c kubedns

  

 

 

posted @ 2017-11-13 20:36  hao.ma  阅读(263)  评论(0编辑  收藏  举报