ocp4-helpernode icon indicating copy to clipboard operation
ocp4-helpernode copied to clipboard

Bootstrap and install with only some nodes booted

Open bassplay3r opened this issue 3 years ago • 1 comments

We need to test adding and removing nodes, workers most likely. If I define nodes in vars.yaml but do not boot some of them, will the booted nodes bootstrap and install? What happens if I boot the additional nodes and the cluster is up. Do they auto join or will I have to do extra steps?

bassplay3r avatar Feb 16 '22 19:02 bassplay3r

When the workers boot they should join automatically since the Control Plane is the one that hosts the machineConfig API. The only issue you might run to is Certs not being valid (since the initial worker.ign embeds the temp cert for bootstrapping)

When in doubt, use oc extract -n openshift-machine-api secret/worker-user-data --keys=userData --to=- to get the latest woker.ign file and use that for bootstrapping other workers.

christianh814 avatar Feb 22 '22 18:02 christianh814