Skip to content

Concept

Self-protection

After a pivot, the operator runs on machines that it manages. A reboot of such a machine can stop the operator in the middle of an operation. So the operator holds these power actions.

The manager pod runs on w-1 of cluster mgmt. Power actions on w-1 and on the control planes cp-1, cp-2 and cp-3 are held. w-2 and other clusters are not held by self-protection.cluster mgmt (the operator runs here)cp-1heldcp-2heldcp-3heldw-1manager pod, heldw-2not heldcluster prodcp, wcluster guard only
Protected machines: the node of the manager pod, and each installed control plane of its own cluster.

The claim or the operation shows reason SelfDisruption.

Own node
The node in the environment variable NODE_NAME of the manager pod. The operator matches it to a TalosNode by name or address.
allow-self-disruption
The Host annotation metal.platform-kit.org/allow-self-disruption. With it, the operator can take that machine down. The value is <user name>: <reason>. See Named guard lifts.

A control plane still goes down only when:

  1. no other control plane of the cluster reboots, and
  2. the other control planes keep the etcd majority. The operator asks each of them over the Talos API at that moment. A control plane that does not answer in five seconds counts as down.