Two control planes: a failover in seconds, and the console to set one up
A control plane being stopped held every agent's stream for the thirty seconds of a graceful shutdown, so the standby led within four seconds and had no nodes for thirty. The agent server is now closed, not drained. A control plane that loses its lease while it lives on lets its agents go, rather than keeping nodes the new leader cannot reach. ctl status and the console's Overview say which control plane leads, which stand by, and whether the floating address is on the leader. The console adds a control plane (Do → Add a control plane), asking for the machine and the floating address. server add says when the mirror would refuse the new control plane. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
289a4ff8e8
commit
ec1918b23b
14 files changed
+623
-17
No files matched your search
@@ -3443,6 +3443,45 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ControlPlane": {
|
||||
"type": "object",
|
||||
"description": "ControlPlane is one control plane.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"address": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string",
|
||||
"description": "State is \"leading\", \"standing by\" or \"not answering\"."
|
||||
},
|
||||
"this": {
|
||||
"type": "boolean",
|
||||
"description": "This is the control plane that answered the summary."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ControlPlanes": {
|
||||
"type": "object",
|
||||
"description": "ControlPlanes is every control plane of a cluster that has several, as each answered when asked.",
|
||||
"properties": {
|
||||
"members": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ControlPlane"
|
||||
}
|
||||
},
|
||||
"floating": {
|
||||
"type": "string",
|
||||
"description": "Floating is the address keepalived keeps on the leader (10.0.0.161), and FloatingUp whether it answered as a leader when asked; empty when nothing floats."
|
||||
},
|
||||
"floating_up": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DomainView": {
|
||||
"type": "object",
|
||||
"description": "DomainView is one domain: its nodes, its power and whether it is held.",
|
||||
@@ -5276,6 +5315,10 @@
|
||||
},
|
||||
"store_error": {
|
||||
"type": "string"
|
||||
},
|
||||
"control_planes": {
|
||||
"$ref": "#/components/schemas/ControlPlanes",
|
||||
"description": "ControlPlanes is the cluster's control planes when there is more than one: which leads, which stand by, and the floating address in front."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user