Automate your Kubernetes cluster setup with this Ansible playbook!
Make sure you have the following installed:
- Ansible
- Ubuntu 22.04 Nodes (Master and Worker Nodes)
-
Clone the repository:
git clone https://github.com/sourabhdey21/kubernetes.git cd kubernetes/Play/Playbook ansible-playbook -i hosts.ini dependencies.yaml ansible-playbook -i hosts.ini control-plane.yaml ansible-playbook -i hosts.ini worker.yaml
-
Access the Cluster: