In this project we will use ansible and kubeadm to create a high available kubernetes cluster with multi master node in Ubuntu 20.04 LTS and we will deploy kafka, zookeeper, prometheus, grafana and two simple python script to the cluster.
We need three master node, two worker node, one loadbalancer node and a workstation.
All servers have 2 core CPU and 2GB RAM.
We create a private network so all server are reachabe for each other.
the site.yaml playbook consists of 5 playbool
Install pre requisties on all nodes.
Insall and configure HAproxy on haproxy node.
This playbook will install kubernetes cluster with three master and two worker.
Deploy kafka, zookeeper, prometheus, grafana and two simple python script to the cluster.
Remove shecan DNS from all cluster nodes.