Concept
Node lifecycle
A TalosNode is a member of its cluster while a claim gives it a machine. For etcd, the operator does not trust these counts. Before a control plane joins or leaves, it reads the member list from etcd.
- Member
- A TalosNode that a claim gave a machine. A TalosNode that waits for a machine is in
status.unassignedNodesand does not lowerAvailable. - Join serialization
- A control plane boot waits with
EtcdJoinWaitingwhile another control plane boots or leaves. It also waits while a member is not healthy, a member is a learner, or etcd has a member with the same name. - Leave verdict
- A control plane leaves only if what stays is safe: not empty, a healthy majority, an odd count. The leader leaves last.
- ack-etcd-risk
- The annotation
metal.platform-kit.org/ack-etcd-riskon the claim or the TalosNode. Its value is your username and your reason for an unsafe removal. - RemovalBlocked
- The condition of a TalosNode that is deleted. It waits for the release of its machine or the removal of its etcd member.
| Control planes | Failures tolerated |
|---|---|
| 1 | 0 |
| 2 | 0 |
| 3 | 1 |
| 4 | 1 |
| 5 | 2 |
Use 1, 3 or 5. An even count costs one more machine for no more safety.
Change requests
Section titled “Change requests”| Command | Effect |
|---|---|
| pk-metal scale | Writes or deletes claims to reach a size |
| pk-metal replace | Moves a node to another machine. The operator releases the old machine first. |
| pk-metal reinstall | Drains, resets and installs a node again on the same machine |