ocp4-helpernode
ocp4-helpernode copied to clipboard
Bootstrap and install with only some nodes booted
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?
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.