Errors when running kubelet Errors when running kubelet kubernetes kubernetes

Errors when running kubelet


For anyone who may look for the solution to this issue: Since you are using LXC, you need to make sure that the filesystem in question is mounted as rw. This it is needed to specify the following option in the config file for LXC:

raw.lxc: "lxc.apparmor.profile=unconfined\nlxc.cap.drop= \nlxc.cgroup.devices.allow=a\nlxc.mount.auto=proc:rw sys:rw"

or just

lxc.mount.auto: proc:rw sys:rw

Here are the references:https://medium.com/@kvaps/run-kubernetes-in-lxc-container-f04aa94b6c9chttps://github.com/corneliusweig/kubernetes-lxd