kubernetes-bootstrapping/05-cluster-bootstrap
2023-12-22 22:24:31 -07:00
..
README.md improve readme with links and content 2023-12-22 22:24:31 -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, but do not join any other nodes to it yet.


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

Copy kube admin config to local profile. This is also a good time to copy it to your desktop with SCP or something.

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