First, we need to create one docker image and push it to the Azure Container registry, and after write terraform code for provision.
For solving this issue I am showing two methods, the first is manually and the second is Automation, btw I prefer automation 😁.
docker pull centos
docker run --net=host -it --name c1 centos
Ansible Roles to Configure K8S Multi-Node Cluster over AWS Cloud.
For this problem statement, I am using the Ansible collection, in this ansible collection I am creating 3 roles, one for ec2, the second for Kubernetes master, third for Kubernetes slave 🙂.
First, we need to delete all the IP addresses from all the OS routing tables. after that add the System A Ip in System B and System C routing table, at last, add the System B and System C Ip in System A routing table. …