How can I generate the join command to add new nodes to a kURL cluster?

Question: The join commands printed at the end of the kURL installation script expire after 24 hours, so what happens if you don’t have access to the KOTS admin console and you need to generate new join commands for nodes you want to add to the cluster?

Answer: To get new commands, run join_token with the relevant parameters (airgap and ha ) on a primary node such as the following examples:

Non-HA Worker

curl -sSL | sudo bash -s join_token

HA Primary or Worker

curl -sSL | sudo bash -s join_token ha

HA Airgap Primary or Worker

cat ./ | sudo bash -s join_token ha airgap

1 Like