Skip to content

Concept

Release and wipe

When a claim goes, the machine returns to the pool. Its disk must not hold the old node. If the old disk boots, the machine comes back as a node that no longer belongs, with the keys of its cluster.

A release asks: does the node answer? Yes: drain, leave etcd, Talos reset, power off, Available. No: remove the etcd member by ID, power off, DiskWiped=False. A wipe then erases the disk and the Host is Available.Releaseclaim deletedNode answers?Talos resetdisk wipedPower off onlyDiskWiped=FalseAvailableWipeapprovedyesno
Two paths out. Both end with a machine that holds no node.
Release
The operation that the HostClaim controller proposes when you delete a claim.
Hand-off record
status.handOff of the claim. It records that a node was installed on a machine. It decides whether a release needs approval.
Disk not wiped
The condition DiskWiped=False with reason InstalledNodeRemains, and the annotation metal.platform-kit.org/disk-not-wiped.
Wipe
An operation that boots a Talos image with talos.experimental.wipe=system. The machine ends in Talos maintenance mode with an empty disk.
  1. A marked Host gets no install and no other operation that turns it on.
  2. pk-metal wipe asks for the wipe. A person approves it.
  3. If you know that the disk is empty, remove the annotation yourself. The operator accepts it.
  4. The hand-off record changes only through pk-metal reinstall, pk-metal replace or a removal. Each one resets the disk first.