Commit af44aa14 authored by Lubomir I. Ivanov's avatar Lubomir I. Ivanov

kubeadm-init: update note about failing containers

This PR was merged before all requested changes were applied: kubernetes/pull/59731 Update the note about failing containers as requested here: https://github.com/kubernetes/kubernetes/pull/59731#pullrequestreview-119517427
parent 5782d476
...@@ -103,14 +103,13 @@ var ( ...@@ -103,14 +103,13 @@ var (
If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands: If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
- 'systemctl status kubelet' - 'systemctl status kubelet'
- 'journalctl -xeu kubelet' - 'journalctl -xeu kubelet'
Additionally a control plane component may not have come up in docker. If that's the case, you can enumerate Additionally, a control plane component may have crashed or exited when started by the container runtime.
all docker containers that have been started (including ones that have crashed and exited) by running the To troubleshoot, list all containers using your preferred container runtimes CLI, e.g. docker.
following commands: Here is one example how you may list all Kubernetes containers running in docker:
- 'docker ps -a' - 'docker ps -a | grep kube | grep -v pause'
Once you have found the failing container, you can inspect its logs with:
Once you have that list, you can inspect the logs for any pod with: - 'docker logs CONTAINERID'
- 'docker logs $CONTAINERID'
`))) `)))
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment