sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/eks/cluster-template-eks-machine-deployment-only.yaml (about) 1 apiVersion: cluster.x-k8s.io/v1beta1 2 kind: MachineDeployment 3 metadata: 4 name: "${CLUSTER_NAME}-md-0" 5 spec: 6 clusterName: "${CLUSTER_NAME}" 7 replicas: ${WORKER_MACHINE_COUNT} 8 selector: 9 matchLabels: 10 template: 11 spec: 12 clusterName: "${CLUSTER_NAME}" 13 version: "${KUBERNETES_VERSION}" 14 bootstrap: 15 configRef: 16 name: "${CLUSTER_NAME}-md-0" 17 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 18 kind: EKSConfigTemplate 19 infrastructureRef: 20 name: "${CLUSTER_NAME}-md-0" 21 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 22 kind: AWSMachineTemplate 23 --- 24 apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 25 kind: AWSMachineTemplate 26 metadata: 27 name: "${CLUSTER_NAME}-md-0" 28 spec: 29 template: 30 spec: 31 instanceType: "${AWS_NODE_MACHINE_TYPE}" 32 iamInstanceProfile: "nodes.cluster-api-provider-aws.sigs.k8s.io" 33 sshKeyName: "${AWS_SSH_KEY_NAME}" 34 --- 35 apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 36 kind: EKSConfigTemplate 37 metadata: 38 name: "${CLUSTER_NAME}-md-0" 39 spec: 40 template: {}