question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

microk8s fresh install inside LXD unable to get it running

See original GitHub issue

I’ve tried to setup microk8s inside LXD container using fresh installation of both (LXD + snap microk8s). Everything looks fine, until trying to start “microk8s start”.

# microk8s start
# microk8s status
microk8s is not running.

official Setup instructions used: https://microk8s.io/docs/lxd

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ktsakalozoscommented, Feb 7, 2022

Hi @dontlaugh, did you follow the LXC installation instructions found in [1]? Could you share a microk8s inspect tarball?

[1] https://microk8s.io/docs/lxd

1reaction
typoworx-decommented, Sep 3, 2021

It may well be that case. Check this comment from another issue. #2304 (comment) See if it helps.

Thanks, I’ll try with ZFS Storage. Would be great if the lxd-init would point that out! Or there should be provided a BTRFS profile.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MicroK8s in LXD
MicroK8s is the simplest production-grade upstream K8s. Lightweight and focused. Single command install on Linux, Windows and macOS.
Read more >
Microk8s not working on LXD · Issue #924 - GitHub
Kube proxy was not able to create the necessary iptable rules. It seems to also be unable to find some kernel modules.
Read more >
How can I run microk8s on LXD? - Ask Ubuntu
It is possible to run MicroK8s in LXD with the right profiles. Have a look at https://github.com/ubuntu/microk8s/tree/master/tests/lxc .
Read more >
Snap refresh failing due to containerd having "running apps"
Refreshing MicroK8s seems to be failing with: $ sudo snap install . ... Eg, I have a system running lxd, that has the...
Read more >
Install a local Kubernetes with MicroK8s - Ubuntu
In this tutorial you'll learn how to… Get your Kubernetes cluster up and running; Enable core Kubernetes addons such as dns and dashboard ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found