Day 2
Put a host in maintenance
Stop all new proposals for one machine while you work on its hardware.
Before you start
Section titled “Before you start”- If the machine runs a node, drain it first or reboot it out with Reboot a node. Maintenance mode does not drain.
- You know the Host name. It is the serial number in lower case.
-
Set the annotation. The value is your reason.
Terminal window kubectl annotate host simhw2288v5000398 metal.platform-kit.org/maintenance="replace DIMM B2" -
Make sure that the phase is
Maintenance.Terminal window kubectl get host simhw2288v5000398 -
Do the hardware work.
-
Remove the annotation.
Terminal window kubectl annotate host simhw2288v5000398 metal.platform-kit.org/maintenance-
An operation that runs continues to its end. The operator starts no new operation for the machine.
The claim shows HostInMaintenance in the BLOCKED column.
Verify
Section titled “Verify”After step 4, the phase returns to the phase before the maintenance.
Related
Section titled “Related”- Host, Assert and observe
- Replace a node if you cannot repair the hardware.