sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/infrastructure-aws/kustomize_sources/default/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} 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: AWSMachineTemplate 24 --- 25 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 26 kind: AWSMachineTemplate 27 metadata: 28 name: "${CLUSTER_NAME}-md-0" 29 spec: 30 template: 31 spec: 32 instanceType: "${AWS_NODE_MACHINE_TYPE}" 33 iamInstanceProfile: "nodes.cluster-api-provider-aws.sigs.k8s.io" 34 sshKeyName: "${AWS_SSH_KEY_NAME}" 35 --- 36 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 37 kind: KubeadmConfigTemplate 38 metadata: 39 name: "${CLUSTER_NAME}-md-0" 40 spec: 41 template: 42 spec: 43 joinConfiguration: 44 nodeRegistration: 45 name: '{{ ds.meta_data.local_hostname }}' 46 kubeletExtraArgs: 47 cloud-provider: aws