sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/eks/cluster-template-eks-managed-machinepool-only.yaml (about)

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: MachinePool
     3  metadata:
     4    name: "${CLUSTER_NAME}-pool-0"
     5  spec:
     6    clusterName: "${CLUSTER_NAME}"
     7    replicas: ${WORKER_MACHINE_COUNT}
     8    template:
     9      spec:
    10        clusterName: "${CLUSTER_NAME}"
    11        bootstrap:
    12          dataSecretName: ""
    13        infrastructureRef:
    14          name: "${CLUSTER_NAME}-pool-0"
    15          apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    16          kind: AWSManagedMachinePool
    17  ---
    18  apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
    19  kind: AWSManagedMachinePool
    20  metadata:
    21    name: "${CLUSTER_NAME}-pool-0"
    22  spec:
    23    scaling:
    24      minSize: 1
    25      maxSize: 2
    26    updateConfig:
    27      maxUnavailable: 2