Skip to content

Bootstrap troubleshooting

SSH onto s supervisor node and sudo -i.

Check containers with:

crictl ps

Check if the api server is available.

kubectl get pod -A

Check the state of services and the state of cloud init:

systemctl --type service

less /var/log/cloud-init-output.log
journalctl -xeu  cloud-final
journalctl -xeu  cloud-init
journalctl -xeu  cloud-config
journalctl -xeu  cloud-init-local

Check logs on all the nodes with:

grep -R -i stderr /var/log/pods/*
grep -R -i error /var/log/pods/*
grep -R -i fail /var/log/pods/*

Check Kubelet

systemctl status kubelet  --no-pager --full
journalctl -xeun kubelet
crictl images ls