Skip to content

Day 2

Replace a node

Run a node on other hardware, with the same node name.

  • You are a member of the admin group (pk-metal:admins by default). Only this group can point a claim at another machine.
  • A free Host exists for the new machine.
  • You know the disk serial and the NIC MAC of the new machine. A TalosNode can select by them.
The old hardware Method
Still works Add first, then remove. etcd never runs short.
Failed (power supply, main board) pk-metal replace. The operator releases the old machine first.
Has a failed install disk only Replace the disk, then Reinstall a node.
  1. Edit the TalosNode to the values of the new machine: installDiskSelector and the link hardwareAddr.

    Terminal window
    kubectl apply -f nodes/cp-2.yaml
  2. Ask for the replacement. For a control plane of three, give a reason. etcd has two members in between.

    Terminal window
    pk-metal replace cp-2 --host simhw2288v5000401 --ack-etcd-risk "cp-2 PSU failed"
  3. Approve the release of the old machine.

    Terminal window
    pk-metal approve
  4. Approve the install on the new machine.

    Terminal window
    pk-metal approve
  • The node is Ready on the new Host.
  • kubectl get hostclaim -n default cp-2 shows the new Host.
What you see Go to
only an admin ... may point a claim at another machine Join the admin group. See hostclaim-provisioning.
Claim blocked on EtcdRiskRefused Add --ack-etcd-risk.
Old Host InstalledNodeRemains Disk not wiped
The install fails Operation failed