18.04.2 microk8s issue starting
See original GitHub issueBrand new install of 18.04.2 along with microk8s which installs fine. Trying to run rancher/vm but either everything sits in Evicted or Pending. Network host is attached to is 10.1.1.0/24 which I changed in the config to be 10.10.1.1/24 as I thought maybe that was the issue. I have tried various resolutions including re-install, changing br0 etc etc. I am sure I am doing something stupid. Thanks for any insight.
inspection-report-20190509_162949.tar.gz
Please run microk8s.inspect
and attach the generated tarball to this issue.
We appreciate your feedback. Thank you for using microk8s.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
18.04.2 microk8s issue starting #463 - GitHub
I see your node is under disk pressure (running low on disk), see microk8s.kubectl describe no . The limits we set are --eviction-hard="memory....
Read more >Troubleshooting - MicroK8s
You may experience the API server being slow, crashing or forming an unstable multi node cluster. Such problems are often traced to low...
Read more >Install a local Kubernetes with MicroK8s - Ubuntu
Being a snap it runs all Kubernetes services natively (i.e. no virtual machines) while packing the entire set of libraries and binaries needed....
Read more >MicroK8s on Ubuntu : A Getting Started Guide
Installing Microk8s · 1. Open a terminal session on your Ubuntu machine, whether locally or via SSH. Related:How to Set up the SSH...
Read more >Microk8s pods are stuck on pending on Ubuntu - Stack Overflow
There's a section in the docs about this. If a Pod is stuck in Pending it means that it can not be scheduled...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@crsavage1 this is a great question that should reach our official docs eventually.
In MicroK8s container data are kept under
/var/snap/microk8s/common/var/lib/containerd
and/var/snap/microk8s/common/run/
. If you do adf -h
you should see that the filesystem holding those paths (probably the root filesystem) is running low on disk space. As I understand you have some other volumes with free disk space you want to use. To do so you have to configure MicroK8s accordingly. Edit/var/snap/microk8s/current/args/containerd
and point the--root
and--state
to the volume you want to use. Here is an example where we use the/mnt
You must restart MicroK8s for this configuration to take effect:
microk8s.stop
,microk8s.start
.Hi @crsavage1
I see your node is under disk pressure (running low on disk), see
microk8s.kubectl describe no
.The limits we set are
--eviction-hard="memory.available<100Mi,nodefs.available<1Gi,imagefs.available<1Gi"
defined in/var/snap/microk8s/current/args/kubelet
. You can update the limits and do amicrok8s.stop
,microk8s.start
.