microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

Microk8s kubelite restarting infinitely after power failure

Open scarby opened this issue 8 months ago • 0 comments

Summary

A few days ago my building lost power and my single node microk8s cluster simply stopped working, At present i have no idea why

so far i have worked out:

  • API server seems to work can view pods - however the state seems outdated
  • New pods do not schedule
  • kubelite restarts repeatedly - seemingly because it is unable to elect a leader.
  • dqlite seems to be running, has a single node in it's config - but is repeatedly throwing a cryptic error (error while range on /registry/serviceaccounts/ /registry/serviceaccounts/: context canceled)
  • api server kicker repeatedly complains about: /snap/microk8s/6876/scripts/kill-host-pods.py

I have attached my inspection report but i'm at a loss as to what might be the root cause here this.

What Should Happen Instead?

microk8s should start upa again and reschedule pods

Reproduction Steps

Unknown

Introspection Report

inspection-report-20240611_143455.tar.gz

scarby avatar Jun 11 '24 21:06 scarby