diff --git a/docs/book/src/images/clusterclass-crd-relationships.svg b/docs/book/src/images/clusterclass-crd-relationships.svg new file mode 100644 index 000000000000..ad7f3e1a93a8 --- /dev/null +++ b/docs/book/src/images/clusterclass-crd-relationships.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + Cluster + cluster.x-k8s.io/v1beta2 + spec.topology.classRef + + + + + ClusterClass + cluster.x-k8s.io/v1beta2 + spec.*.templateRef + + + + classRef + + + + + + Control plane + + + Cluster infrastructure + + + Workers (MachineDeployments) + + + Workers (MachinePools, optional) + + + + KubeadmControlPlane + Template + controlplane.cluster.x-k8s.io/v1beta2 + + + + + InfrastructureMachine + Template (control plane) + infrastructure.cluster.x-k8s.io/v1beta2 + + + + + InfrastructureCluster + Template + infrastructure.cluster.x-k8s.io/v1beta2 + + + + + KubeadmConfig + Template (MD) + bootstrap.cluster.x-k8s.io/v1beta2 + + + + + InfrastructureMachine + Template (workers) + infrastructure.cluster.x-k8s.io/v1beta2 + + + + + KubeadmConfig + Template (MP) + bootstrap.cluster.x-k8s.io/v1beta2 + + + + + InfrastructureMachinePool + Template + infrastructure.cluster.x-k8s.io/v1beta2 + + + + + spec.controlPlane + templateRef + + + + + spec.controlPlane.machineInfrastructure + templateRef (optional) + + + + + spec.infrastructure + templateRef + + + + + spec.workers.machineDeployments[] + bootstrap.templateRef + + + + + spec.workers.machineDeployments[] + infrastructure.templateRef + + + + + spec.workers.machinePools[] + bootstrap.templateRef + + + + + spec.workers.machinePools[] + infrastructure.templateRef + + + Legend: + + cluster/core + + control plane + + bootstrap + + infrastructure + + templateRef + MD = machineDeployments, MP = machinePools + + diff --git a/docs/book/src/reference/api/crd-relationships.md b/docs/book/src/reference/api/crd-relationships.md index 09b2dada846e..612964cb68ba 100644 --- a/docs/book/src/reference/api/crd-relationships.md +++ b/docs/book/src/reference/api/crd-relationships.md @@ -19,3 +19,7 @@ The direction of the arrows indicates the direction of "management" or "referenc ## Worker machines relationships ![]( ../../images/worker-machines-resources.png) + +## ClusterClass relationships + +![]( ../../images/clusterclass-crd-relationships.svg)