microk8s: edge version gives error: Failed to start microk8s services
Please run microk8s inspect and attach the generated tarball to this issue.
We appreciate your feedback. Thank you for using microk8s. inspection-report-20210303_194517.tar.gz
Installed a fresh latest/edge version, enablel helm3, rbac, dns, metrics-server and storage. After enabling storage microk8s can not start and says it has problem enabling containerd.
I installed it because i want a newer version of helm3 and this version gives helm3 version 3.5, but it seems it still has problems
After i run the inspect command, dns, rbac and metrics-server wasnt installed but i was able to start microk8s. Now i enabled it again and now it runs without errors
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (9 by maintainers)
I found an even better way to start it. Just clean up the
/var/snap/microk8s/common/run/containerd/*. When you stop microk8s, you cannot delete the directories, but you canmvthem to some other place. Here are the steps:microk8s stopsudo mv /var/snap/microk8s/common/run/containerd/* /tmpmicrok8s startI am getting this too on
masterbranch. After stopping MicroK8s gracefully (with several pods), shutting down the system and booting it backup.Containerd failed to start with this error.
Tried manually starting containerd several times with
sudo systemctl start snap.microk8s.daemon-containerd.serviceEnd up getting the same error. Eventually i set the
TimeoutSec=0in the systemd configuration and it eventually came up. The weird thing is, the next time I stop and start (without rebooting), it doesn’t take long enough to start containerd.