kubernetes-bootstrapping/05-cluster-bootstrap
2023-12-22 19:55:27 -07:00
..
README.md Note about deploying CNI before worker nodes to avoid a known issue 2023-12-22 19:55:27 -07:00

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

Before you join other nodes, deploy the CNI in 06! If you don't, there is sometimes an issue where the br0 adapter will use the crio CNI configuration.