Can't get status, inspect stuck
See original GitHub issuemicrok8s status
doesn’t show anything.
It says, microk8s isn’t running.
I stopped and started microk8s but it didn’t work.
And, I can’t run microk8s inspect
either.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s status
microk8s is not running. Use microk8s inspect for a deeper inspection.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s stop
Stopped.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s start
Started.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s status
microk8s is not running. Use microk8s inspect for a deeper inspection.
(base) user01@user-X299-WU8:/var/snap/microk8s/current/args$ microk8s inspect
Inspecting Certificates
Inspecting services
Service snap.microk8s.daemon-cluster-agent is running
Service snap.microk8s.daemon-containerd is running
Service snap.microk8s.daemon-apiserver is running
Service snap.microk8s.daemon-apiserver-kicker is running
Service snap.microk8s.daemon-control-plane-kicker is running
Service snap.microk8s.daemon-proxy is running
Service snap.microk8s.daemon-kubelet is running
Service snap.microk8s.daemon-scheduler is running
Service snap.microk8s.daemon-controller-manager is running
Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
Copy processes list to the final report tarball
Copy snap list to the final report tarball
Copy VM name (or none) to the final report tarball
Copy disk usage information to the final report tarball
Copy memory usage information to the final report tarball
Copy server uptime to the final report tarball
Copy current linux distribution to the final report tarball
Copy openSSL information to the final report tarball
Copy network configuration to the final report tarball
Inspecting kubernetes cluster
Inspect kubernetes cluster
Inspecting juju
Inspect Juju
It stucks more than 10 minutes.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10
Top Results From Across the Web
Git Commands Stuck Forever · Issue #1640 · ish-app ... - GitHub
I tried to run git fsck to check the status and there are no hints. I also tried to run GIT_TRACE2_PERF prefix set...
Read more >Git: How to revert 2 files that are stubbornly stuck at "Changed ...
I had a couple of stubborn files and ran this command, git status now shoes no changes, but when I try to change...
Read more >Browser stuck at "Waiting for Endpoint Inspection status" when ...
When accessing the virtual server of BIG-IP APM, the browser maybe stuck and the screen like below: "Waiting for Endpoint Inspection status".
Read more >How to Fix Microsoft Teams Status Stuck - Technipages
Go to Settings → Update & Security → Windows Update and hit the Check for updates button.
Read more >Xcode 13.2 update is stuck | Apple Developer Forums
I am trying to update XCode to 13.2 on Monterey. It's stuck at "Installing 7.49GB of 7.49GB" (been for a while...). I tried...
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
It’s the same issue for me. I am using Raspberry Pi3 with 2 cpu and 1 GB ram and microk8s status and microk8s inspect always hangs out. Its pure luck when it works. I did replicate the same issue happens in AWS EC2 with 2 cpu and 1 GB ARM64 system. I beleieve Microk8s is not tested throughly yet for ARM64 systems with low power. Although it says it works for low power devices thats not true.
@betsegaw my guess is that the kernel is killing the apiserver due to memory pressure. You may want to try enabling swap. But that is highly discouraged by kubernetes. Imho 1GB is too small for kubernetes.