sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/flavors/aks-clusterclass/clusterclass.yaml (about)

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: ClusterClass
     3  metadata:
     4    name: ${CLUSTER_CLASS_NAME}
     5    namespace: default
     6  spec:
     7    controlPlane:
     8      ref:
     9        apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    10        kind: AzureManagedControlPlaneTemplate
    11        name: ${CLUSTER_NAME}-control-plane
    12    infrastructure:
    13      ref:
    14        apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    15        kind: AzureManagedClusterTemplate
    16        name: ${CLUSTER_NAME}
    17    workers:
    18      machinePools:
    19      - class: default-system
    20        template:
    21          bootstrap:
    22            ref:
    23              apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
    24              kind: KubeadmConfigTemplate
    25              name: ${CLUSTER_NAME}-pool0
    26          infrastructure:
    27            ref:
    28              apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    29              kind: AzureManagedMachinePoolTemplate
    30              name: ${CLUSTER_NAME}-pool0
    31      - class: default-worker
    32        template:
    33          bootstrap:
    34            ref:
    35              apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
    36              kind: KubeadmConfigTemplate
    37              name: ${CLUSTER_NAME}-pool1
    38          infrastructure:
    39            ref:
    40              apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    41              kind: AzureManagedMachinePoolTemplate
    42              name: ${CLUSTER_NAME}-pool1
    43