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 tasks.sh join_token
with the relevant parameters (airgap
and ha
) on a primary node such as the following examples:
Non-HA Worker
curl -sSL https://kurl.sh/latest/tasks.sh | sudo bash -s join_token
HA Primary or Worker
curl -sSL https://kurl.sh/latest/tasks.sh | sudo bash -s join_token ha
HA Airgap Primary or Worker
cat ./tasks.sh | sudo bash -s join_token ha airgap
https://kurl.sh/docs/install-with-kurl/adding-nodes#standard-installations