Main Menu

Search

KUBERNETES: How To Get/Print Kubernetes Cluster Join Command For Adding Kubernetes Node To Cluster? (DevOps)

Below command can be used.

kubeadm token create --print-join-command

Below is sample output.

# kubeadm token create --print-join-command
W0322 23:49:47.069154   24288 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
kubeadm join 10.XX.XX.164:6443 --token lu4mfu.iym25m92bcnj84qh     --discovery-token-ca-cert-hash sha256:591238ec3ca07d115779a122b079f04919407a95fa7d2f80f3bfbe9396467f27


Products to which Article Applies

Kubernetes

Search Keywords: Kubernetes k8s kube how to docs join command commands cluster clusters get getting printing print used

Article Author: Tarun Boyella

 

No comments:

Post a Comment