sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/infrastructure-aws/kustomize_sources/gpu/machine-deployment.yaml (about) 1 --- 2 apiVersion: cluster.x-k8s.io/v1beta1 3 kind: MachineDeployment 4 metadata: 5 name: "${CLUSTER_NAME}-md" 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" 18 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 19 kind: KubeadmConfigTemplate 20 infrastructureRef: 21 name: "${CLUSTER_NAME}-md" 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" 29 spec: 30 template: 31 spec: 32 rootVolume: 33 size: 100 34 type: gp2 35 instanceType: "g4dn.xlarge" 36 iamInstanceProfile: "nodes.cluster-api-provider-aws.sigs.k8s.io" 37 sshKeyName: "${AWS_SSH_KEY_NAME}" 38 --- 39 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 40 kind: KubeadmConfigTemplate 41 metadata: 42 name: "${CLUSTER_NAME}-md" 43 spec: 44 template: 45 spec: 46 joinConfiguration: 47 nodeRegistration: 48 name: '{{ ds.meta_data.local_hostname }}' 49 kubeletExtraArgs: 50 cloud-provider: aws