sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/test/ci/prow-ipv6/machine-pool-ipv6.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    clusterConfiguration:
    52      apiServer:
    53        extraArgs:
    54          bind-address: '::'
    55      controllerManager:
    56        extraArgs:
    57          bind-address: '::'
    58      scheduler:
    59        extraArgs:
    60          bind-address: '::'
    61    files:
    62    - contentFrom:
    63        secret:
    64          key: worker-node-azure.json
    65          name: ${CLUSTER_NAME}-md-0-azure-json
    66      owner: root:root
    67      path: /etc/kubernetes/azure.json
    68      permissions: "0644"
    69    joinConfiguration:
    70      nodeRegistration:
    71        kubeletExtraArgs:
    72          cloud-provider: external
    73          cluster-dns: '[fd00::10]'
    74        name: '{{ ds.meta_data["local_hostname"] }}'
    75