Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

> kubeadm join 192.168.56.100:6443 --token 69sqqp.yelc6ct7o3v3uoqp --discovery-token-ca-cert-hash sha256:03b55f52661338d761e8dd68203b738f3e126428cda239db81c2723a7bccba83


...


Verify it is all working

From the master node:

Code Block
sudo kubectl get nodes

NAME        STATUS   ROLES    AGE     VERSION
k8master    Ready    master   47h     v1.13.1
k8worker1   Ready    <none>   12m     v1.13.1
k8worker2   Ready    <none>   6m12s   v1.13.1


kubectl get pods --all-namespaces

NAMESPACE     NAME                               READY   STATUS    RESTARTS   AGE
kube-system   coredns-86c58d9df4-8zk5t           1/1     Running   2          47h
kube-system   coredns-86c58d9df4-tsftk           1/1     Running   2          47h
kube-system   etcd-k8master                      1/1     Running   3          47h
kube-system   kube-apiserver-k8master            1/1     Running   3          47h
kube-system   kube-controller-manager-k8master   1/1     Running   3          47h
kube-system   kube-flannel-ds-amd64-fl5wp        1/1     Running   3          25m
kube-system   kube-flannel-ds-amd64-k26xv        1/1     Running   0          5m4s
kube-system   kube-flannel-ds-amd64-ncg64        1/1     Running   1          11m
kube-system   kube-proxy-88gdq                   1/1     Running   3          47h
kube-system   kube-proxy-b6m4d                   1/1     Running   0          5m4s
kube-system   kube-proxy-nxwmh                   1/1     Running   1          11m
kube-system   kube-scheduler-k8master            1/1     Running   3          47h

Now deploy something and verify it all works.


References

...