Add initial steps for 05,06 and 10
This commit is contained in:
parent
85771666b6
commit
6413be0928
20
05-cluster-bootstrap/README.md
Normal file
20
05-cluster-bootstrap/README.md
Normal 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
6
06-cni-flannel/README.md
Normal 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
7
10-join-nodes/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# 10-Join-Nodes
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
kubeadm join 10.69.69.147:6443 --config join-config.yaml
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user