config: add master_node_uuids to EdgeNodeCluster#145
Conversation
|
I am trying to understand, so in a replace node operation, eve will get three uuid of the two old nodes + one new node ? |
right, two old nodes uuid, plus one new node uuid. |
eriknordmark
left a comment
There was a problem hiding this comment.
LGTM.
Is this tied to using etcd as the database, or should the comment be more general?
0d78d8a to
93da5c9
Compare
In a 3-master k3s cluster, replacing a master node leaves a stale Node object that blocks the new master from joining — k3s rejects a new server while an old member is still registered. Add master_node_uuids (field 13) to EdgeNodeCluster so the controller can ship the authoritative list of current master UUIDs to surviving devices. EVE uses this list to delete stale control-plane Node objects, which causes k3s to automatically drop the corresponding member and allows the replacement master to join cleanly. Signed-off-by: naiming-zededa <naiming@zededa.com>
add generated pb.go and pb2.py files Signed-off-by: naiming-zededa <naiming@zededa.com>
93da5c9 to
081597b
Compare
@eriknordmark removed wording on etcd in the commit message. |
Uh oh!
There was an error while loading. Please reload this page.