Skip to content

Commit 6e4226d

Browse files
committed
2019-02-01
1 parent 90ea22b commit 6e4226d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

markdown-file/Docker-Install-And-Usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,11 +1047,11 @@ etcd-0 Healthy {"health": "true"}
10471047
10481048
10491049
验证:
1050-
kubectl get pods --all-namespaces
10511050
kubectl get nodes
10521051
如果还是 NotReady,则查看错误信息:
1053-
kubectl describe pod kube-scheduler-master.hanli.com -n kube-system
1054-
kubectl logs kube-scheduler-master.hanli.com -n kube-system
1052+
kubectl get pods --all-namespaces,其中:Pending/ContainerCreating/ImagePullBackOff 都是 Pod 没有就绪,我们可以这样查看对应 Pod 遇到了什么问题
1053+
kubectl describe pod <Pod Name> --namespace=kube-system
1054+
或者:kubectl logs <Pod Name> -n kube-system
10551055
tail -f /var/log/messages
10561056
10571057
```

0 commit comments

Comments
 (0)