sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/test/ci/prow-dual-stack/machine-pool-dualstack.yaml (about)

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: MachinePool
     3  metadata:
     4    name: ${CLUSTER_NAME}-mp-0
     5    namespace: default
     6  spec:
     7    clusterName: ${CLUSTER_NAME}
     8    replicas: ${WORKER_MACHINE_COUNT}
     9    template:
    10      spec:
    11        bootstrap:
    12          configRef:
    13            apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
    14            kind: KubeadmConfig
    15            name: ${CLUSTER_NAME}-mp-0
    16        clusterName: ${CLUSTER_NAME}
    17        infrastructureRef:
    18          apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    19          kind: AzureMachinePool
    20          name: ${CLUSTER_NAME}-mp-0
    21        version: ${KUBERNETES_VERSION}
    22  ---
    23  apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    24  kind: AzureMachinePool
    25  metadata:
    26    name: ${CLUSTER_NAME}-mp-0
    27    namespace: default
    28  spec:
    29    location: ${AZURE_LOCATION}
    30    strategy:
    31      rollingUpdate:
    32        deletePolicy: Oldest
    33        maxSurge: 25%
    34        maxUnavailable: 1
    35      type: RollingUpdate
    36    template:
    37      osDisk:
    38        diskSizeGB: 30
    39        managedDisk:
    40          storageAccountType: Premium_LRS
    41        osType: Linux
    42      sshPublicKey: ${AZURE_SSH_PUBLIC_KEY_B64:=""}
    43      vmSize: ${AZURE_NODE_MACHINE_TYPE}
    44  ---
    45  apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
    46  kind: KubeadmConfig
    47  metadata:
    48    name: ${CLUSTER_NAME}-mp-0
    49    namespace: default
    50  spec:
    51    files:
    52    - contentFrom:
    53        secret:
    54          key: worker-node-azure.json
    55          name: ${CLUSTER_NAME}-md-0-azure-json
    56      owner: root:root
    57      path: /etc/kubernetes/azure.json
    58      permissions: "0644"
    59    joinConfiguration:
    60      nodeRegistration:
    61        kubeletExtraArgs:
    62          cloud-provider: external
    63          cluster-dns: '[fd00::10]'
    64        name: '{{ ds.meta_data["local_hostname"] }}'