Reputation: 75
I am creating k8s cluster from digital ocean but every time I am getting same warning after I create cluster and open that cluster in lens ID.
Here is the screenshot of warning:
I tried every solution I found, but still can't remove the error.
Upvotes: 2
Views: 38454
Reputation: 21
you can restart the container service. This will fix the problem.
To make permanent fix, set SystemdCgroup = true
in /etc/containerd/config.toml
and make sure that kubelet is configured to use systemd cgroup driver. You can check in the /var/lib/kubelet/config.yaml
file
then restart the containerd service,
Upvotes: 2
Reputation: 1328122
Check first if k3s-io/k3s
issue 1857 could help:
I was getting the same error when I installed kubernetes cluster via
kubeadm
.After reading all the comments on the subject, I thought that the problem might be caused by
containerd
and the following two commands solved my problem, maybe it can help:systemctl restart containerd systemctl restart kubelet
And:
This will need to be fixed upstream. I suspect it will be fixed when we upgrade to containerd v1.6 with the cri-api v1 changes
So checking the containerd
version can be a clue.
Upvotes: 16