Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upmicrok8s cleaner/clearer failure on vanilla LXD #1404
Labels
Comments
|
Thank you for the suggestion. Here is how we could approach this. In the suggest_fixes of the inspect script [1], we could cat the [1] https://github.com/ubuntu/microk8s/blob/master/scripts/inspect.sh#L106 |
justinmclark
mentioned this issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


I recently installed the microk8s snap on a vanilla LXD container. At the time I hadn't come across https://microk8s.io/docs/lxd and it took a little while before I noticed that some components hadn't started up properly and I found my way to that doc.
Having found the documentation, it's excellent, thank you - following the instructions there left me with a very happy microk8s instance. From a usability perspective however, I'd really appreciate it if microk8s were able to perform some kind of initial check and flag up the potential problem (and direct me to the appropriate doc)
As it stands, my rough debugging process looked like:
microk8s statusand be toldmicrok8s is not running. Use microk8s inspect for a deeper inspection.microk8s inspectas instructed and seeFAIL: Service snap.microk8s.daemon-kubelet is not running,For more details look at: sudo journalctl -u snap.microk8s.daemon-kubeletsudo journalctl -u snap.microk8s.daemon-kubeletand seeserver.go:274] failed to run Kubelet: failed to create kubelet: open /dev/kmsg: no such file or directoryThe guidance microk8s gave me from steps 2 to 4 was incredibly nice - I'd just really appreciate an initial "looks like you're on LXD but you haven't done these things" check please!