https://rancher.com/ logo
Title
s

shy-zebra-53074

03/01/2023, 7:16 PM
Hopefully a quick question, does the Join token located at
/var/lib/rancher/rke2/server/node-token
have an expiration? Can I re-use this same join token if I add worker nodes to the cluster 3, 6, 12 months from when the cluster was initiated?
c

creamy-pencil-82913

03/01/2023, 7:19 PM
the server token does not expire and cannot be changed
s

shy-zebra-53074

03/01/2023, 7:20 PM
ok I think w/ kubeadm you generate tokens that have an expiration so everytime you join a worker you first need to query for a new join token
thank you!
c

creamy-pencil-82913

03/01/2023, 7:21 PM
in the next round of releases we are adding kubeadm style tokens that can be used to join agents
but the server token is fixed
s

shy-zebra-53074

03/01/2023, 7:21 PM
gotcha ok thank you!