Generate a new token:
sudo kubeadm token generate
List the tokens:
sudo kubeadm token list
Print the kubeadm join command to join a node to the cluster:
sudo kubeadm token create [token_name] --ttl 2h --print-join-command
Or...
*Get the Join Command in Kubernetes
kubeadm token create --print-join-command
Комментариев нет:
Отправить комментарий