Skip to content

Instantly share code, notes, and snippets.

@j-griffith
Created April 18, 2022 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j-griffith/d0fcbef91137fbea344bdd73d6bc4d9d to your computer and use it in GitHub Desktop.
Save j-griffith/d0fcbef91137fbea344bdd73d6bc4d9d to your computer and use it in GitHub Desktop.
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
version: "1.21"
name: <CLUSTER_NAME>
region: us-west-2
availabilityZones: [us-west-2a, us-west-2b, us-west-2c]
iam:
withOIDC: true
vpc:
nat:
gateway: Single
addons:
- name: vpc-cni
version: 1.10.1
attachPolicyARNs:
- "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
managedNodeGroups:
- privateNetworking: true
instanceType: m5.xlarge
minSize: 3
maxSize: 6
spot: false
iam:
withAddonPolicies:
ebs: true
availabilityZones: [us-west-2a]
name: nucleus
labels:
nodeGroup: nucleus
tags:
k8s.io/cluster-autoscaler/enabled: "true"
k8s.io/cluster-autoscaler/<CLUSTER_NAME>: owned
maxPodsPerNode: 110
- privateNetworking: true
instanceType: t3.medium
minSize: 2
maxSize: 3
spot: false
iam:
withAddonPolicies:
ebs: true
availabilityZones: [us-west-2a]
name: monitoring
labels:
nodeGroup: monitoring
maxPodsPerNode: 110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment