Versions Compared

Key

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

...

> sudo kubeadm init --apiserver-advertise-address <IP ADDRESS> --pod-network-cidr 192.168.0.0/16

Code Block
...
Your Kubernetes master has initialized successfully!


To start using your cluster, you need to run the following as a regular user:


  mkdir -p $HOME/.kube
  sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
  sudo chown $(id -u):$(id -g) $HOME/.kube/config

You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
  https://kubernetes.io/docs/concepts/cluster-administration/addons/


You can now join any number of machines by running the following on each node
as root:


  kubeadm join 192.168.561.10050:6443 --token 69sqqpzncleb.yelc6ct7o3v3uoqp4y8cw8sis9czffkv --discovery-token-ca-cert-hash sha256:03b55f52661338d761e8dd68203b738f3e126428cda239db81c2723a7bccba8355eb0ebac3be5acb9f51a56ffe46aa80520b7161d60cfa62a4405c0bc52e2a92


Record the kubeadm join command! 

...