sigs.k8s.io/cluster-api@v1.7.1/docs/book/src/images/worker-machines-resources.plantuml (about) 1 @startuml worker-machines-resources 2 3 skinparam nodesep 80 4 skinparam ranksep 80 5 skinparam object { 6 backgroundColor<< infrastructure.cluster.x-k8s.io >> #D9EAD3 7 backgroundColor<< bootstrap.cluster.x-k8s.io/v1alpha3 >> #FEF4F4 8 } 9 10 ' cluster.x-k8s.io/v1alpha3 11 object Cluster << cluster.x-k8s.io/v1alpha3 >> 12 object MachineHealthCheck << cluster.x-k8s.io/v1alpha3 >> { 13 spec.clusterName 14 spec.selector 15 } 16 object MachineDeployment << cluster.x-k8s.io/v1alpha3 >> { 17 spec.clusterName 18 <font color="Green">spec.template.spec.infrastructureRef</font> 19 <font color="Red">spec.template.spec.bootstrap.configRef</font> 20 } 21 object MachineSet << cluster.x-k8s.io/v1alpha3 >> { 22 <font color="Green">spec.template.spec.infrastructureRef</font> 23 <font color="Red">spec.template.spec.bootstrap.configRef</font> 24 } 25 object Machine << cluster.x-k8s.io/v1alpha3 >> { 26 <font color="Green">spec.infrastructureRef</font> 27 <font color="Red">spec.bootstrap.configRef</font> 28 } 29 30 ' bootstrap.cluster.x-k8s.io/v1alpha3 31 object BarBootstrapConfig << bootstrap.cluster.x-k8s.io/v1alpha3 >> 32 object BarBootstrapConfigTemplate << bootstrap.cluster.x-k8s.io/v1alpha3 >> 33 34 ' Infrastructure provider CRD 35 object FooMachineTemplate << infrastructure.cluster.x-k8s.io >> 36 object FooMachine << infrastructure.cluster.x-k8s.io >> 37 38 ' The straight lines (-->) represent "management". For example, "MachineSet 39 ' manages Machines". The dotted line (..>)represents "reference". For example, 40 ' "Machine `spec.infrastructureRef` field references FooMachine". 41 ' 42 ' The direction of the arrows indicates the direction of "management" or 43 ' "reference". For example, "the relationship between MachineSet and Machine is 44 ' management from MachineSet to Machine", so the arrow points from MachineSet 45 ' to Machine. 46 47 MachineDeployment "0..*" .left.> "1" Cluster 48 MachineDeployment "1" ..> "1" FooMachineTemplate 49 MachineDeployment "0..1" --> "1..*" MachineSet 50 MachineDeployment "0..1" ..> "0..1" BarBootstrapConfigTemplate 51 MachineHealthCheck "0..*" ..> "1" Cluster 52 MachineHealthCheck "0..*" ..> "0..*" Machine 53 MachineSet "1..*" ..> "1" Cluster 54 MachineSet "1" ..> "1" FooMachineTemplate 55 MachineSet "1" ..> "0..1" BarBootstrapConfigTemplate 56 MachineSet "1" --> "1..*" Machine 57 MachineSet "1" --> "1..*" FooMachine 58 MachineSet "1" --> "0..*" BarBootstrapConfig 59 Machine "0..*" ..> "1" Cluster 60 Machine "1" ..> "1" FooMachine 61 Machine "1" ..> "0..1" BarBootstrapConfig 62 63 @endurl