node1$ sudo kubeadm join --token 1bc310.cb323487a828849e 10.2.7.114:6443 --discovery-token-ca-cert-hash sha256:3d39f8fe34a043ccef4821014fd6d3e0f222614d37d59a6e4944c74f257c6d4d [preflight] Running pre-flight checks. [WARNING FileExisting-crictl]: crictl not found in system path [discovery] Trying to connect to API Server "10.2.7.114:6443" [discovery] Created cluster-info discovery client, requesting info from "https://10.2.7.114:6443" [discovery] Requesting info from "https://10.2.7.114:6443" again to validate TLS against the pinned public key [discovery] Cluster info signature and contents are valid and TLS certificate validates against pinned roots, will use API Server "10.2.7.114:6443" [discovery] Successfully established connection with API Server "10.2.7.114:6443"
This node has joined the cluster: * Certificate signing request was sent to master and a response was received. * The Kubelet was informed of the new secure connection details.
Run 'kubectl get nodes' on the master to see this node join the cluster.
1 2 3
master$ kubectl get nodes NAME STATUS ROLES AGE VERSION ubuntu Ready master 4h v1.9.1