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.
Daily control
Section titled “Daily control”| 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. |
Change nodes
Section titled “Change nodes”| 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. |
Change machines
Section titled “Change machines”| 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. |
Protect the data
Section titled “Protect the data”| Task | Command | Approval |
|---|---|---|
| Back up etcd | pk-metal backup | None. A snapshot reads only. |
| Restore etcd | pk-metal restore | Each operation |
Change the cluster size
Section titled “Change the cluster size”| 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 the operator back
Section titled “Move the operator back”Move back after a pivot returns the operator to the bootstrap cluster after a Pivot the operator.
Learn first
Section titled “Learn first”- Day-2 change shows how one change goes from your edit to the machine.
- Approval explains why each change waits for a person.