sigs.k8s.io/cluster-api@v1.7.1/docs/proposals/images/machine-states-preboot/Figure5.plantuml (about)

     1  @startuml
     2  title Figure 5: User creates a machine with kubeadm bootstrapper
     3  
     4  ' -- GROUPS START ---
     5  
     6  box #lightgreen
     7  participant "API Server"
     8  end box
     9  
    10  box #lightblue
    11  participant "Cluster API Machine Controller"
    12  end box
    13  
    14  ' -- GROUPS END ---
    15  
    16  "API Server"-->>"Cluster API Machine Controller": KubeadmBootstrapConfig updated
    17  
    18  "Cluster API Machine Controller"-> "Cluster API Machine Controller": Enqueue Reconcile\nfor Machine
    19  
    20  
    21  "Cluster API Machine Controller"-> "Cluster API Machine Controller": Machine Controller Reconcile
    22  activate "Cluster API Machine Controller"
    23  
    24  "Cluster API Machine Controller"->"API Server": Get Machine
    25  "Cluster API Machine Controller"<<--"API Server": Response
    26  
    27  note over "Cluster API Machine Controller": - ✅ Machine.Status.Phase is "Pending" \n- ✅ Machine.Spec.Bootstrap.ConfigRef -> Status.Ready is true\n- ✅ Machine.Bootstrap.ConfigRef -> Status.BootstrapData is populated (not <nil>)
    28  
    29  "Cluster API Machine Controller"-> "Cluster API Machine Controller": Copy Machine.Spec.Bootstrap.ConfigRef -> Status.BootstrapData\nto Machine.Spec.Bootstrap.Data
    30  
    31  "Cluster API Machine Controller"-> "Cluster API Machine Controller":Set Machine.Status.Phase = "Provisioning"
    32  
    33  "Cluster API Machine Controller"->"API Server": Update Machine
    34  "Cluster API Machine Controller"<<--"API Server": Response
    35  
    36  hide footbox
    37  @enduml