sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/test/ci/prow-aks/patches/aks-pool2.yaml (about)

     1  # Deploy a third agent pool with one machine in order to test a AzureManagedMachinePool with only required configuration
     2  apiVersion: cluster.x-k8s.io/v1beta1
     3  kind: MachinePool
     4  metadata:
     5    name: "${CLUSTER_NAME}-pool2"
     6  spec:
     7    clusterName: "${CLUSTER_NAME}"
     8    replicas: 1
     9    template:
    10      metadata: {}
    11      spec:
    12        bootstrap:
    13          dataSecretName: ""
    14        clusterName: "${CLUSTER_NAME}"
    15        infrastructureRef:
    16          apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    17          kind: AzureManagedMachinePool
    18          name: "${CLUSTER_NAME}-pool2"
    19        version: "${KUBERNETES_VERSION}"
    20  ---
    21  # The infrastructure backing the third pool will use the same VM SKU, which is the only required configuration
    22  apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    23  kind: AzureManagedMachinePool
    24  metadata:
    25    name: "${CLUSTER_NAME}-pool2"
    26  spec:
    27    mode: User
    28    sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
    29    osType: Windows
    30    name: pool2