Skip to content

Instantly share code, notes, and snippets.

@robincher
Last active April 2, 2024 23:57
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 robincher/e378be5f61d97060c4fbd19e3b09536d to your computer and use it in GitHub Desktop.
Save robincher/e378be5f61d97060c4fbd19e3b09536d to your computer and use it in GitHub Desktop.
EKS Cluster Config
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: kong-tal-eks
region: ap-southeast-1
addons:
- name: vpc-cni
version: latest
- name: coredns
version: latest
- name: kube-proxy
version: latest
vpc:
id: "vpc-0532630eb83b65ee4" # (optional, must match VPC ID used for each subnet below)
subnets:
# must provide 'private' and/or 'public' subnets by availability zone as shown
# specific app-tier subnets pre-created
private:
ap-southeast-1a:
id: "subnet-0b2512f8c6ae9bf30"
cidr: "192.168.128.0/19" # (optional, must match CIDR used by the given subnet)
ap-southeast-1b:
id: "subnet-0b2512f8c6ae9bf30"
cidr: "192.168.128.0/19" # (optional, must match CIDR used by the given subnet)
ap-southeast-1c:
id: "subnet-0b2512f8c6ae9bf30"
cidr: "192.168.128.0/19" # (optional, must match CIDR used by the given subnet)
managedNodeGroups:
- name: managed-workergroup-1
minSize: 2
desiredCapacity: 2
maxSize: 2
labels:
role: worker
tags:
nodegroup-name: managed-workergroup-1
launchTemplate:
id: lt-12345
privateNetworking: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment