21 lines
451 B
Markdown
21 lines
451 B
Markdown
|
# 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
|