microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

kubectl/api hangs

Open fawaf opened this issue 1 year ago • 1 comments

Summary

oddly, been running microk8s fine for a few weeks or so, and then i can't use kubectl or k9s to poke at the api anymore and everything hangs. it either hangs for a very long time and errors out, or hangs for a long time and exit successfully sometimes.

this is the second time that it happened, so i ended up rebuilding the cluster from scratch. (didn't save any logs/reports from the previous issue unfortunately)

What Should Happen Instead?

kubectl/api/k9s should be working relatively quickly and not hang for a long time

Reproduction Steps

run any sort of kubectl command

e.g.

  1. kubectl get ns
  2. kubectl get pods -A
  3. kubectl get secrets -A

Introspection Report

inspection-report-20240114_231401.tar.gz

Can you suggest a fix?

Are you interested in contributing with a fix?

fawaf avatar Jan 15 '24 09:01 fawaf

i also encounter https://github.com/canonical/microk8s/issues/3227, so this may also be part of the issue.

fawaf avatar Jan 22 '24 08:01 fawaf