unknown
unknown

Reputation: 75

invalid capacity 0 on image filesystem, Lens ID Kubernetes

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:

screenshot

I tried every solution I found, but still can't remove the error.

Upvotes: 2

Views: 38454

Answers (2)

kushal sharma
kushal sharma

Reputation: 21

  1. you can restart the container service. This will fix the problem.

  2. 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

containerd config screenshot

then restart the containerd service,

Upvotes: 2

VonC
VonC

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

Related Questions