Terraform Replica Set Code
TERRAFORM REPLICA SET KUBERNETES - Kubernetes is an open-source container orchestration system that manages the PODs 24 X 7. It Automatically Deploys, Scales, and is fault-tolerant. REPLICA SET- Replica Set is used to make the replicas of PODs that are deleted. Replica Set uses Set Based Selector and Equality Based Selector. Replica Set is a New Version Of Replication Controller. TASK - Make a service that keep eye on PODs. Terraform code for Replica Set TERRAFORM CODE FOR SERVICE - This Kubernetes Service is used to access the PODs’ work by the tag. The Port took is 80 so that it will be publically accessible. TERRAFORM DEPLOYMENT CODE- Terraform Deployment Resources not only deploys the POD but also make a replica set. The "replica" taken is 3 and "match_labels" is "Equality Based Selector".The Image taken from the link . INITIALIZE TERRAFORM- The command “terraform init” will initialize the ter...