Architecture
Desired State:
- Assume you have Kubernetes to create 5 replications of tomcat:8
- Creation of 5 Pods on appropriate nodes is taken care by scheduler.
- Failure Scenarios:
- Node has failed: controller-manager has a control loop called Node-controller, Replication-controller, Now Controller -Manager Takes necessary steps to bring back the count to 5
- In the earlier scenario 5 replications is desired state. Controller-Manager is responsible for maintaining desired state