- Controllers are part of Workload APIs
- Controllers can maintain desired state
- Replication controller can replicate pods.
- Desired State would be number of pods
- Gives Self-Healing Capability to K8S cluster
Writing Replication Controller Manifest YAML
- In Replication Controller’s spec we would have information of POD.
- Refer API Reference from here
- image: tomcat:8
- containerPort: 8080