- Copy
inventories/sample.yaml
toinventories/my_cluster.yaml
and edit it. - Run
ansible-playbook -i inventories/my_cluster.yaml install.yaml
- Install basic system dependencies dependencies/install.yaml:
- configure firewall
- container runtime interface (containerd)
- kubelet, kubeadm, kubectl
- helm
- configure system for k8s
- Install basic k8s cluster k8s-base/install.yaml:
- setup master nodes
- enroll worker nodes
- container network interface (Flannel)
- Install k8s extras k8s-extras/install.yaml:
- persistent volume provisioner (NFS)
- dashboard
- ingress controller (ingress-nginx)