Installing
#
- First run
kubernetes_init
and kubernetes_fetch
in /cicd/ansible to init the cluster with kubeadm - Untaint the kubernetes master node with:
kubectl taint nodes --all node-role.kubernetes.io/control-plane-
- Then apply calico:
kubectl apply -k kubernetes/calico
- Then apply calico:
kubectl apply -k kubernetes/calico
- Run
kubeadm token create --print-join-command
on the main node and join with secondary nodes - Then install flux locally and run
kubernetes/flux/deploy.sh
- Then apply
kubernetes/storage/node-labels/node-labels.sh