Skip to content

Instantly share code, notes, and snippets.

@piaverous
Created May 25, 2020 15:09
Show Gist options
  • Save piaverous/19c640646f044017a392204532441536 to your computer and use it in GitHub Desktop.
Save piaverous/19c640646f044017a392204532441536 to your computer and use it in GitHub Desktop.
kubeadm initialization logs
Your Kubernetes control-plane 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:
/docs/concepts/cluster-administration/addons/
You can now join any number of machines by running the following on each node
as root:
kubeadm join <control-plane-host>:<control-plane-port> --token <token> --discovery-token-ca-cert-hash sha256:<hash>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment