-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microk8s is not running, but some pods does #4594
Comments
this is entirely valid I am getting the same thing: ubuntu@stakepool-de-02:~$ kubectl get nodes -o wide 2024-09-09T17:06:46.160808+00:00 stakepool-de-13 microk8s.daemon-kubelite[2692964]: W0909 17:06:46.160123 2692964 logging.go:59] [core] [Channel #1 SubChannel #3] grpc: addrConn.createTransport failed to connect to {Addr: "unix:///var/snap/microk8s/7180/var/kubernetes/backend/kine.sock:12379", ServerName: "kine.sock:12379", }. Err: connection error: desc = "transport: Error while dialing: dial unix /var/snap/microk8s/7180/var/kubernetes/backend/kine.sock:12379: connect: connection refused" It's happening on multiple servers. |
Ubuntu 24.04 MicroK8s 1.30.1 |
Summary
I have a cluster in HA with MicroK8s version 1.29 stable. I found the cluster crashed for no apparent reason, and I can't figure out how to solve this problem. On each node,
microk8s status
saysmicrok8s is not running. Use microk8s inspect for a deeper inspection.
However,microk8s inspect
indicates that everything is working fine.I noticed that I'm unable to perform
microk8s kubectl get nodes
, which result withError from server: rpc error: code = Unknown desc = query (try: 0): theid
I tried stopping and restarting MicroK8s on each node, and I also restarted all the servers multiple times.
I see that some services are running while others simply cannot start. The most common error I'm seeing is:
error=rpc error: code = Unknown desc = query (try: 0): theid
.Commands like
kubectl get namespace
are working fineReproduction Steps
I'm unable to reproduce this cluster state with a brand new one.
Introspection Report
inspection-report-20240731_131206.tar.gz
Can you suggest a fix?
no, idea
Are you interested in contributing with a fix?
I do not have the skill to do it
The text was updated successfully, but these errors were encountered: