microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

microk8s does not start after fresh install

Open THINKER-ONLY opened this issue 8 months ago • 2 comments

Summary microk8s cannot start after fresh install. On a similar vm (same os version (ubuntul 22.04.5 lts), same microk8s version (1.32/stable), same storage size and file system), microk8s can start successfully.

What Should Happen Instead? microk8s start

Reproduction Steps

  • sudo snap install microk8s --classic --channel=1.27

  • microk8s status microk8s is not running. Use microk8s inspect for a deeper inspection.

  • microk8s inspect

Inspecting system
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-kubelite is running
  Service snap.microk8s.daemon-k8s-dqlite is running
  Service snap.microk8s.daemon-apiserver-kicker 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 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 openSSL information to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting dqlite
  Inspect dqlite

Building the report tarball
  Report tarball is at /var/snap/microk8s/7280/inspection-report-20250328_145307.tar.gz

inspection-report-20250328_145307.tar.gz I have noticed there is someone who have mentioned this, but this problem is still questioned me

THINKER-ONLY avatar Mar 28 '25 07:03 THINKER-ONLY

I got the same error in my vmware workstation, i just usesudo snap install microk8s --classic and run microk8s satus, got microk8s is not running, the error info is same to, my server is ubuntu - 22.04

z1long6 avatar Apr 13 '25 03:04 z1long6

I even had similar issue when I tried v1.29 where microk8s status says microk8s is not running.

But when I tried sudo microk8s status everything is fine.

ACodingfreak avatar May 05 '25 16:05 ACodingfreak