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