Sometimes containerd files gets corrupted. Why?..
Workaround.
systemctl stop kubelet
systemctl stop containerd
Remove corrupted containerd
mv /var/lib/containerd/ /var/lib/containerd_
mv /run/containerd/ /run/containerd_
Set a specific IP of any k8s api master to work without the missing nginx-proxy
grep localhost /etc/kubernetes/kubelet.conf
server: https://localhost:6443
Return the node to work
systemctl restart kubelet
systemctl restart containerd
Monitoring the start of pods
watch crictl ps
Revert kubelet.conf to localhost
Комментариев нет:
Отправить комментарий