skip to content
Alvin Lucillo

Generate boostrap token

/ 1 min read

To generate token with full join command, use the command below. The full join command allows you to just copy the command and run it on the worker node so it can join the cluster.

➜ kubeadm token create --print-join-command
kubeadm join 192.168.100.31:6443 --token czqy6e.9k8ntd6oobw5tah7 --discovery-token-ca-cert-hash sha256:eae79e9d840dcfee86ef40b0ba6c0b29e2131575ff4f5fe21ab21e1236bba056 

➜ kubeadm token list
TOKEN                     TTL         EXPIRES                ...
0w1k1l.1ev0hyn2g4l2eqbk   <forever>   <never>                ...
8dt86t.0mpjulubm3zol0xl   4h          2025-09-19T17:22:52Z   ...
czqy6e.9k8ntd6oobw5tah7   23h         2025-09-20T13:13:53Z   ...