Skip to content

Day 2

Day 2 overview

Day 2 is all the work after the install, while workloads run on the nodes. The rule does not change: the operator proposes, a person approves, the operator does it.

Two paths for a day-2 change: one HostOperation for one machine, or one TalosRollout for a whole cluster, node by node.You askCLI, spec edit, profileHostOperationone machineTalosRolloutone cluster, node by nodeApprovalpk-metal approveApproval of the planpk-metal rollout approveone per node
One machine gets a HostOperation. A whole cluster gets a TalosRollout, which makes one HostOperation for each node.
Task Command Approval
Approve, hold, retry and abort pk-metal approve, pk-metal hold, pk-metal retry, pk-metal abort Is the approval
Use maintenance windows kubectl apply None. A window only sets the time.
Put a host in maintenance kubectl annotate host None
Monitor the fleet pk-metal status, pk-metal top None. Reads only.
Collect diagnostics kubectl, talosctl None. Reads only.
Task Command Approval
Reboot a node pk-metal reboot Each reboot
Change the machine config Edit the TalosCluster or TalosNode Rollout plan
Upgrade Talos pk-metal upgrade Rollout plan
Upgrade Kubernetes pk-metal upgrade Rollout plan
Rotate cluster credentials Edit the TalosCluster None for a credential. Manual for a CA.
Task Command Approval
Apply BIOS settings A BiosProfile Each machine
Flash firmware A FirmwareProfile Each machine
Rotate BMC credentials An EndpointProfile None. The machine does not stop.
Task Command Approval
Back up etcd pk-metal backup None. A snapshot reads only.
Restore etcd pk-metal restore Each operation
Task Command Approval
Add a node A claim, or pk-metal scale Each install
Remove a node Delete the claim, or pk-metal scale The release
Scale control planes pk-metal scale One at a time
Replace a node pk-metal replace Release, then install
Reinstall a node pk-metal reinstall Each step
Release a host Delete the claim The release
Wipe and decommission pk-metal wipe The wipe

Move back after a pivot returns the operator to the bootstrap cluster after a Pivot the operator.

  • Day-2 change shows how one change goes from your edit to the machine.
  • Approval explains why each change waits for a person.