Add initial steps for 05,06 and 10

This commit is contained in:
Steven Polley 2023-12-19 07:12:07 -07:00
parent 85771666b6
commit 6413be0928
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# 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

6
06-cni-flannel/README.md Normal file
View File

@ -0,0 +1,6 @@
# 06-CNI-Flannel
```bash
kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml
```

7
10-join-nodes/README.md Normal file
View File

@ -0,0 +1,7 @@
# 10-Join-Nodes
```bash
kubeadm join 10.69.69.147:6443 --config join-config.yaml
```