microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

The one node couldn't re-join when it have a unexpected problem.

Open minhwan9600 opened this issue 2 years ago • 3 comments

Summary :

When the one node re-join , the node couldn't join on cluster. microk8s ver: 1.19.5 This version can't upgrade. It should keep this version.

Problem:

The one node of three nodes have been a problem. When I execute the kubectl get node, it was as not ready status. I dont know what's going on. I followed for resolving as follow proceduers

  1. microk8s leave
  2. microk8s remove-node 3.microk8s add-node

I executed the output of microk8s add-node on the removed-node. But, I coundn't join the removed-node. When I exceute the kubectl command, The error messags was "do you specify the right api-server" ?

When I watch the cluster.yaml, It don't register the new-cluster-id of removed node. I watched previous cluster-id of the removed-node with new-cluster-id in cluster.yaml

do you know how to register one removed-node on cluster?

minhwan9600 avatar Jun 09 '23 03:06 minhwan9600

I won't be able to help, but could you perhaps run these two commands for readers, and capture the output in a code block in this thread?

  • microk8s kubectl get nodes
  • microk8s status

Thanks.

halfer avatar Jun 09 '23 18:06 halfer

@minhwan9600, could you please share exactly the error massage you get when you try to join the node as well as the contents of cluster.yaml? Maybe the cluster agent service is not running in the node you are trying to contact to join the cluster? Could you please describe the layout of your cluster? How many nodes do you have? How many workers/control planes? WHere do you run the add-node command? It would also help if you could share some microk8s inspect tarballs from the affected nodes.

ktsakalozos avatar Jun 12 '23 07:06 ktsakalozos

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 08 '24 01:05 stale[bot]