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

21 lines
451 B
Markdown
Raw Normal View History

2023-12-19 14:12:07 +00:00
# 05-Cluster-Bootstrap
Assumption is that an external load balancer is already configured for the cluster control plane IP address. Initialize the cluster
```bash
sudo kubeadm init --config cluster-config.yaml --upload-certs
```
Copy kubectl config
```bash
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