Need help when re-add a master node #6180
Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
this is the log i got from the server who doesnt want to join:
|
Beta Was this translation helpful? Give feedback.
-
Have a check in the Last time I experienced this I had to forcefully remove the node from Here's my note from the last time it occurred: Use something like Then run the following list all nodes: etcdctl --cert /mnt/data/apps/kubernetes/server/tls/etcd/server-client.crt --key /mnt/data/apps/kubernetes/server/tls/etcd/server-client.key --endpoints https://127.0.0.1:2379 --cacert /mnt/data/apps/kubernetes/server/tls/etcd/server-ca.crt member list Then remove the broken member. etcdctl --cert /mnt/data/kubernetes/server/tls/etcd/server-client.crt --key /mnt/data/kubernetes/server/tls/etcd/server-client.key --endpoints https://127.0.0.1:2379 --cacert /mnt/data/kubernetes/server/tls/etcd/server-ca.crt member remove <node-id from previous cmd> |
Beta Was this translation helpful? Give feedback.
-
i tried out first following scenario: i deployed a master00 and worker00. I set them up and all is working fine. Now when i try to add a second master, it never starts up. So in that it can't have this node already in the etcd list. the error log look like this: |
Beta Was this translation helpful? Give feedback.
-
here is the config.yaml of master 01
and the az_ccm config (addition)
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I installed a cluster with 3 master nodes and some worker nodes (with cilium). Now one master node was damaged (vm).
Now when i try todo following steps, im not able to get master added again to the cluster.
kubectl drain --ignore-daemonsets --delete-emptydir-data
kubectl delete node
recreate the vm
the other two master i modified the config.yaml in a way that master01 is now the leading master and master02 points to master01
restarted them both.
install rke2 again on master00 but this time with config.yaml that he will join master01
but when i start the rke2-server it never joins to the rest.
Is there something wrong in the steps i missed?
Beta Was this translation helpful? Give feedback.
All reactions