sigs.k8s.io/cluster-api@v1.7.1/docs/book/src/images/cluster-admission-machineset-controller.plantuml (about) 1 @startuml cluster-admission-machineset-controller 2 3 start; 4 :MachineSet controller; 5 6 repeat 7 :MachineSet controller enqueues a Reconcile call; 8 :List machines specified by selector; 9 repeat 10 if (Machine has no controller) then (yes) 11 #LightBlue:Adopt machine; 12 endif 13 repeat while (More machines) is (yes) 14 :Propagate in-place changes to existing Machines; 15 if (Not enough replicas) then (yes) 16 #LightBlue:Boot new machine; 17 elseif (Too many replicas) then (yes) 18 #LightBlue:Delete machines; 19 endif 20 if (Not all machines are ready) then (yes) 21 #Pink:Return Requeue; 22 endif 23 repeat while (Create returned Requeue) is (yes) 24 stop; 25 26 @enduml