Pods not running on the node and "crictl ps" reports error:
# crictl ps connect: connect endpoint 'unix:///run/containerd/containerd.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded
Containerd logs show that CRI service is not running
level=fatal msg="Failed to run CRI service" error="failed to recover state: failed to reserve sandbox name
kubectl config use-context <Supervisor Cluster> kubectl get machine -n <namespace> kubectl delete machine -n <namespace>
kubectl config use-context <Supervisor Cluster> kubectl patch cluster <Workload Cluster> -n <namespace> --type merge -p '{"spec":{"paused": true}}'
systemctl stop containerd systemctl status containerd systemctl stop kubelet systemctl status kubelet
mv /var/lib/containerd /var/lib/containerd_old mkdir /var/lib/containerd chmod 711 /var/lib/containerd
systemctl stop kubelet systemctl status kubelet
ctr -n k8s.io images list | grep -e pause -e docker-registry ctr -n k8s.io images export pause.tar <Pause Image Ref> ctr -n k8s.io images export docker-registry.tar <Docker Registry Image Ref>
ctr -n k8s.io images import pause.tar ctr -n k8s.io images import docker-registry.tar ctr -n k8s.io images list
systemctl start kubelet systemctl status kubelet
crictl ps export KUBECONFIG=/etc/kubernetes/admin.conf kubectl get pods -A
kubectl config use-context <Supervisor Cluster> kubectl patch cluster <Workload Cluster> -n <namespace> --type merge -p '{"spec":{"paused": false}}'