Force-Restore quorum after 1/2 nodes disappears? #10925
-
Long story short: I used two nodes to bootstrap my cluster, and one got zapped (faulty microSD plugged in via a USB reader seemed to have knocked the poor SBC stupid and now it no longer boots/functions). Eversince that, I get errors from Raft trying to connect to that dead node and thus k3s no longer boots ... which is a bit of a problem. How do I force-reset all peers in the cluster but keep the current Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
since in etcd a quorum of an odd number is needed, 1, 3, ,5 etc and yours is 2, I think and guess having 2 does not give you any kind of HA, and better to stick to either 1 or 3 for the issue , you can restore the etcd snapshot that k3s server automatically creates every 6 hours please notice restring a snapshot is destructive and do it on a test server first |
Beta Was this translation helpful? Give feedback.
You don't need to do a restore. Just start one of the servers with --cluster-reset, and it will reset the etcd cluster membership back to only that node. At that point you can follow the instructions to remove the DB from the other nodes and join additional etcd cluster members. Just make sure you have an odd number this time.