Process Flow - ReplicaSet definition
Write ReplicaSet YAML
kubectl apply -f
API Server receives request
ReplicaSet Controller checks desired replicas
Create/Delete Pods to match replicas
Pods running as per ReplicaSet spec
Monitor and maintain pod count
The flow shows how a ReplicaSet YAML is applied, the controller ensures the desired number of pods run, creating or deleting pods as needed.