This repository has set of ansible playbooks created to setup a kubernetes cluster fully automated with one master and multiple worker nodes. This will work on Fiware-Lab VMs. This has been tested and verified on Centos 7.9 64 bit operating systems with Kernel 5.12.10-1.el7.elrepo.x86_64 and Ubuntu 16.04 64 bit operating systems with Kernel Linux 4.4.0-210-generic.
quick_start_guide provide the steps which needs to be followed sor the setup using this repository.
- ansible.cfg - Ansible configuration file created locally.
- hosts - Ansible Inventory File
- env_variables - Main environment variable file where we have to specify based on our environment.
- settingup_kubernetes_cluster.yml - Ansible Playbook to perform prerequisites ready, setting up nodes, configure master node.
- configure_worker_nodes.yml - Ansible Playbook to join worker nodes with master node.
- clear_k8s_setup.yml - Ansible Playbook helps to delete entire configurations from all nodes.
- playbooks – It’s a directory holds all playbooks.
- Ansible script would deploy bare minimum K8s. User can configure K8s like persistent storage etc.
- At least three VMs are required for K8s deployment.