Advertisement
Guest User

Adis

a guest
Feb 22nd, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. Your Kubernetes master has initialized successfully!
  2.  
  3. To start using your cluster, you need to run the following as a regular user:
  4.  
  5. mkdir -p $HOME/.kube
  6. sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
  7. sudo chown $(id -u):$(id -g) $HOME/.kube/config
  8.  
  9. You should now deploy a pod network to the cluster.
  10. Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
  11. https://kubernetes.io/docs/concepts/cluster-administration/addons/
  12.  
  13. You can now join any number of machines by running the following on each node
  14. as root:
  15.  
  16. kubeadm join 192.168.137.151:6443 --token 5ykjn1.8jsc4on964v3iqht --discovery-token-ca-cert-hash sha256:7df6e0c7c08df483f7663b92bb4e361df9566beaf8b3dc3aeb6bc7907fab5e1c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement