# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 # An example of ClusterConfig with a normal nodegroup and a Fargate profile. --- apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: eksfg-2 region: us-east-2 iam: withOIDC: true nodeGroups: - name: ng-1 instanceType: m5.large desiredCapacity: 6 labels: { nodeType: ec2 } fargateProfiles: - name: fp-etl selectors: # All workloads in the "default" Kubernetes namespace will be # scheduled onto Fargate: - namespace: eksfg-etl # All workloads in the "kube-system" Kubernetes namespace will be # scheduled onto Fargate: # - namespace: kube-system