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 stalls on OCI E2.1.Micro instance

See original GitHub issue

Details of the instance are here under Compute. It’s a 1 gb ram instance with 40 gigs of attached storage, which according to the issues I’ve read here, should fall within minimum system reqs.

1.19 never moves past the configure hook step when installing. 1.18, 1.18 refreshed to 1.19, 1.17, and 1.16 stall given a microk8s status or microk8s inspect command 90% of the time. I was able to get one inspect tarball out of this, which I’ve attached.

If anyone else wants to give this a try, Oracle Cloud offers no-catch always free compute resources. You can use their Terraform example here together with the relevant Terraform provider docs.

I’d love to receive an answer on either A. what the official minimum system requirements of microK8s are or B. what I can do to get a functional installation. It doesn’t need more than dns and storage enabled (for the purposes of testing, I never enabled these).

inspection-report-20201027_170633.tar.gz

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
worldofgeesecommented, Nov 2, 2020

I see in the issue linked to do the following for Oracle Cloud Infrastructure deployments:

sudo iptabled -D  INPUT -j REJECT --reject-with icmp-host-prohibited
sudo iptabled -D  FORWARD -j REJECT --reject-with icmp-host-prohibited

I needed to change the two instances of iptabled to iptables

sudo iptables -D  INPUT -j REJECT --reject-with icmp-host-prohibited
sudo iptables -D  FORWARD -j REJECT --reject-with icmp-host-prohibited

after which microk8s status reports microk8s is running!

Thank you @ktsakalozos for sticking with me through this one! 🙇

1reaction
worldofgeesecommented, Oct 28, 2020

Imho 1Gb for kubernetes is too small.

K3s occupies this same space of small and lean k8s distros and does fine on a 1Gb vps.

For what it’s worth I have microK8s running two deployments on a 2 gig AWS vps no problem.

But if it is the case that microK8s requires 2 gig minimum, I’d like to see a direct response from the team at Canonical updating the minimums.

Read more comments on GitHub >

github_iconTop Results From Across the Web

microK8s stalls on OCI E2.1.Micro instance #1692 - GitHub
Details of the instance are here under Compute. It's a 1 gb ram instance with 40 gigs of attached storage, which according to...
Read more >
Release notes - MicroK8s
MicroK8s is a Kubernetes cluster delivered as a single snap package - it can be installed on any Linux distribution which supports snaps,...
Read more >
Compute instance shape VM.Standard.E2.1.Micro missing ...
After a week of trying to get past the "Out of host capacity" error, the free tier shape is now gone from the...
Read more >
Free for Developers - Hacker News
My 2 cents on this - I have used the Oracle Cloud free tier trying to get the VMs running. The default resource...
Read more >
Get started with the Juju SDK - Kubernetes - doc - Charmhub
Launch a VM "tutorial-vm" with 8 GB RAM, 2 CPU cores, and 20 GB disk: ... Use MicroK8s to create and configure a...
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