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

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: MachinePool
     3  metadata:
     4    name: "${CLUSTER_NAME}-pool2"
     5  spec:
     6    clusterName: "${CLUSTER_NAME}"
     7    replicas: 1
     8    template:
     9      metadata: {}
    10      spec:
    11        bootstrap:
    12          dataSecretName: ""
    13        clusterName: "${CLUSTER_NAME}"
    14        infrastructureRef:
    15          apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
    16          kind: AzureASOManagedMachinePool
    17          name: "${CLUSTER_NAME}-pool2"
    18        version: "${KUBERNETES_VERSION}"
    19  ---
    20  apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
    21  kind: AzureASOManagedMachinePool
    22  metadata:
    23    name: "${CLUSTER_NAME}-pool2"
    24  spec:
    25    resources:
    26    - apiVersion: "containerservice.azure.com/v1api20231001"
    27      kind: ManagedClustersAgentPool
    28      metadata:
    29        name: ${CLUSTER_NAME}-pool2
    30        annotations:
    31          serviceoperator.azure.com/credential-from: ${ASO_CREDENTIAL_SECRET_NAME}
    32      spec:
    33        azureName: pool2
    34        owner:
    35          name: ${CLUSTER_NAME}
    36        mode: User
    37        type: VirtualMachineScaleSets
    38        vmSize: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
    39        osType: Windows