sigs.k8s.io/cluster-api-provider-azure@v1.17.0/templates/flavors/dual-stack/patches/dual-stack.yaml (about)

     1  ---
     2  apiVersion: cluster.x-k8s.io/v1beta1
     3  kind: Cluster
     4  metadata:
     5    name: ${CLUSTER_NAME}
     6    labels:
     7      cni: "calico-dual-stack"
     8  spec:
     9    clusterNetwork:
    10      pods:
    11        # this is a part of the virtual network IP range.
    12        # See https://docs.projectcalico.org/reference/public-cloud/azure
    13        cidrBlocks:
    14        - "10.244.0.0/16"
    15        - "2001:1234:5678:9a40::/58"
    16      services:
    17        cidrBlocks:
    18        - "10.0.0.0/16"
    19        - "fd00::/108"
    20  ---
    21  apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    22  kind: AzureCluster
    23  metadata:
    24    name: ${CLUSTER_NAME}
    25  spec:
    26    networkSpec:
    27      vnet:
    28        cidrBlocks:
    29          - "10.0.0.0/8"
    30          - "2001:1234:5678:9a00::/56"
    31      subnets:
    32        - name: control-plane-subnet
    33          role: control-plane
    34          cidrBlocks:
    35            - "10.0.0.0/16"
    36            - "2001:1234:5678:9abc::/64"
    37        - name: node-subnet
    38          role: node
    39          cidrBlocks:
    40            - "10.1.0.0/16"
    41            - "2001:1234:5678:9abd::/64"