sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/flavors/ipv6/patches/kubeadm-controlplane.yaml (about)

     1  apiVersion: controlplane.cluster.x-k8s.io/v1beta1
     2  kind: KubeadmControlPlane
     3  metadata:
     4    name: "${CLUSTER_NAME}-control-plane"
     5  spec:
     6    kubeadmConfigSpec:
     7      initConfiguration:
     8        nodeRegistration:
     9          name: '{{ ds.meta_data["local_hostname"] }}'
    10          kubeletExtraArgs:
    11            cluster-dns: "fd00::10"
    12        localAPIEndpoint:
    13          advertiseAddress: "::"
    14          bindPort: 6443
    15      joinConfiguration:
    16        nodeRegistration:
    17          name: '{{ ds.meta_data["local_hostname"] }}'
    18          kubeletExtraArgs:
    19            cluster-dns: "fd00::10"
    20        controlPlane:
    21          localAPIEndpoint:
    22            advertiseAddress: "::"
    23            bindPort: 6443
    24      clusterConfiguration:
    25        apiServer:
    26          timeoutForControlPlane: 20m
    27          extraArgs:
    28            bind-address: "::"
    29        controllerManager:
    30          extraArgs:
    31            #required for ipv6 using calico
    32            allocate-node-cidrs: "true"
    33            cluster-cidr: "2001:1234:5678:9a40::/58"
    34            configure-cloud-routes: "true"
    35            bind-address: "::"
    36        scheduler:
    37          extraArgs:
    38            bind-address: "::"