BLOG03a: kubeadm to Join New Node
BLOG04: Joining new node
1. Get the join command directly
For worker node join token
kubeadm token create --print-join-commandkubeadm join <control-plane-endpoint>:6443 --token <token> \
--discovery-token-ca-cert-hash sha256:<hash>2. Get command for joining as a new control-plane node
kubeadm init phase upload-certs --upload-certs
kubeadm token create --print-join-command --certificate-key <CERT_KEY>3. List existing tokens
1. How to view existing token details
List all tokens
Describe a specific token
2. Where join token information is stored
Location:
3. Where certificate/CA information is stored on disk
Discovery CA hash is derived from:
4. Where control-plane certificate key comes from
🔍 Summary
Item
Where Stored
How to View
Constructing Join Command Manually
1. Get the join token
2. Compute the discovery-token-ca-cert-hash
3. Get the control-plane endpoint
4. Build the join command (Worker node)
5. Build the join command (Control-plane node)
Last updated