sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/flavors/ipv6/machine-deployment.yaml (about) 1 --- 2 apiVersion: cluster.x-k8s.io/v1beta1 3 kind: MachineDeployment 4 metadata: 5 name: "${CLUSTER_NAME}-md-0" 6 spec: 7 clusterName: "${CLUSTER_NAME}" 8 replicas: ${WORKER_MACHINE_COUNT:=2} 9 selector: 10 matchLabels: 11 template: 12 spec: 13 clusterName: "${CLUSTER_NAME}" 14 version: "${KUBERNETES_VERSION}" 15 bootstrap: 16 configRef: 17 name: "${CLUSTER_NAME}-md-0" 18 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 19 kind: KubeadmConfigTemplate 20 infrastructureRef: 21 name: "${CLUSTER_NAME}-md-0" 22 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 23 kind: AzureMachineTemplate 24 --- 25 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 26 kind: AzureMachineTemplate 27 metadata: 28 name: "${CLUSTER_NAME}-md-0" 29 spec: 30 template: 31 spec: 32 vmSize: ${AZURE_NODE_MACHINE_TYPE} 33 osDisk: 34 osType: "Linux" 35 diskSizeGB: 30 36 managedDisk: 37 storageAccountType: "Premium_LRS" 38 sshPublicKey: ${AZURE_SSH_PUBLIC_KEY_B64:=""} 39 enableIPForwarding: true 40 --- 41 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 42 kind: KubeadmConfigTemplate 43 metadata: 44 name: "${CLUSTER_NAME}-md-0" 45 spec: 46 template: 47 spec: 48 joinConfiguration: 49 nodeRegistration: 50 name: '{{ ds.meta_data["local_hostname"] }}' 51 kubeletExtraArgs: 52 cloud-provider: external 53 cluster-dns: "[fd00::10]" 54 clusterConfiguration: 55 apiServer: 56 extraArgs: 57 bind-address: "::" 58 controllerManager: 59 extraArgs: 60 bind-address: "::" 61 scheduler: 62 extraArgs: 63 bind-address: "::" 64 files: 65 - contentFrom: 66 secret: 67 name: ${CLUSTER_NAME}-md-0-azure-json 68 key: worker-node-azure.json 69 owner: root:root 70 path: /etc/kubernetes/azure.json 71 permissions: "0644"