kubernetes-bootstrapping/05-cluster-bootstrap/README.md

451 B

05-Cluster-Bootstrap

Assumption is that an external load balancer is already configured for the cluster control plane IP address. Initialize the cluster


sudo kubeadm init --config cluster-config.yaml --upload-certs

Copy kubectl config

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

Join other control nodes, then join other worker nodes