k8s View the command to join the master node k8s Re-view the command to join the node k8s Enter delete, re-view the command to join kuberadm View the command to join the node

1. After successful installation using kuberadm, clear the screen data and the join command cannot be viewed. Use the following to re-check how the node joins the master node command :

 kubeadm token create --print-join-command --ttl 0

 2. Copy everything circled and enter the command on the node node as follows:

kubeadm join 192.168.164.30:6443 --token 7w50wn.hz6i2mdtv0ivzddm     --discovery-token-ca-cert-hash sha256:7e244b4696b83819e37856610e5dac54804e69118f197d6c3d13e184d1db677b

   The result after entering the command:

 3. Summary: After successful installation, first copy the command to join the master node.

Guess you like

Origin blog.csdn.net/qq_33919114/article/details/132525128