diff --git a/05-cluster-bootstrap/README.md b/05-cluster-bootstrap/README.md new file mode 100644 index 0000000..5505a6e --- /dev/null +++ b/05-cluster-bootstrap/README.md @@ -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 diff --git a/06-cni-flannel/README.md b/06-cni-flannel/README.md new file mode 100644 index 0000000..7b96817 --- /dev/null +++ b/06-cni-flannel/README.md @@ -0,0 +1,6 @@ +# 06-CNI-Flannel + +```bash +kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml + +``` \ No newline at end of file diff --git a/10-join-nodes/README.md b/10-join-nodes/README.md new file mode 100644 index 0000000..ccb0bb7 --- /dev/null +++ b/10-join-nodes/README.md @@ -0,0 +1,7 @@ +# 10-Join-Nodes + +```bash + +kubeadm join 10.69.69.147:6443 --config join-config.yaml + +``` \ No newline at end of file