A simple playbook to install kubernetes via ansible on CentOS 7 VM's. Inspired by kubespray. Noobspray uses kubevip project for control plane endpoint.
Your kubernetes cluster is four steps far to you. Let's get started. Also you can specify Kubernetes version in group_vars/all/main.yaml.
-
Clone this repository
git clone https://github.com/alperencelik/noobspray.git
-
Edit the variables for kubernetes
cd ansible && vim group_vars/all/main.yaml
-
Edit the inventory file
vim inventory
-
To create kubernetes cluster run the command
ansible-playbook kubernetes.yaml
Then take a coffee break ☕ until your cluster go up and running.
You can check out this playlist while Kubernetes is being installed.
https://open.spotify.com/playlist/60thxsFj5z789oDsTJiWn9?si=05d65b23455b4fed
- Create or find a issue
- Discuss the issue with community
- Fork this repository
- Create your branch:
git checkout -b my-issue
- Commit your change:
git commit -m 'my-issue added'
- Push to the branch:
git push origin my-issue
- Submit a pull request