Day 2
Add a node
Add one worker or one control plane to a running cluster.
Before you start
Section titled “Before you start”- A free Host exists:
Available, not claimed, and wiped. - You are a member of the admin group.
- The cluster is
Available. For a control plane, etcd is healthy.
-
Write the TalosNode. Give its role, install disk and network links.
Terminal window kubectl apply -f nodes/w-3.yamlA TalosNode with no machine is not a member yet. The cluster lists it in
status.unassignedNodes. -
Show the plan for the new size. This changes nothing.
Terminal window pk-metal scale prod --control-planes 3 --workers 3The plan pairs the node with a free machine. It prefers the Asset with the same name as the node.
-
Make the claims of the plan.
Terminal window pk-metal scale prod --control-planes 3 --workers 3 --apply -
Approve the install.
Terminal window pk-metal approve pk-metal/provision-simhw2288v5000399-2a3b4c5d
You can also write the HostClaim yourself, as in Install hosts.
Control planes join one at a time
Section titled “Control planes join one at a time”The operator holds the install of a control plane with EtcdJoinWaiting while:
- another control plane of the cluster boots or leaves,
- an etcd member is unhealthy or is a learner,
- etcd still lists a member with the name of the new node.
Verify
Section titled “Verify”kubectl get talosnode w-3 shows READY True. For a control plane, the etcd member votes.
If it fails
Section titled “If it fails”| What you see | Go to |
|---|---|
Claim blocked on EtcdJoinWaiting for a long time |
etcd unhealthy or quorum lost |
Claim blocked on DiskNotWiped |
Disk not wiped |
| The install fails | Operation failed |
Related
Section titled “Related”- pk-metal scale, Scale control planes, Remove a node
- mise run lab:scale runs a full scale round in the lab.