Skip to content

Instantly share code, notes, and snippets.

@lusoal
Last active November 19, 2021 20:25
Show Gist options
  • Select an option

  • Save lusoal/a8beee694549c36dc4aca3d8a5c52477 to your computer and use it in GitHub Desktop.

Select an option

Save lusoal/a8beee694549c36dc4aca3d8a5c52477 to your computer and use it in GitHub Desktop.
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: magalu-dr-env
region: sa-east-1
version: '1.20'
vpc:
id: "" # (optional, must match VPC ID used for each subnet below)
cidr: "" # (optional, must match CIDR used by the given VPC)
clusterEndpoints:
privateAccess: true
publicAccess: true
subnets:
# must provide 'private' and/or 'public' subnets by availibility zone as shown
private:
sa-east-1a:
id: ""
cidr: "" # (optional, must match CIDR used by the given subnet)
sa-east-1b:
id: ""
cidr: "" # (optional, must match CIDR used by the given subnet)
sa-east-1c:
id: ""
cidr: ""
public:
sa-east-1a:
id: ""
cidr: "" # (optional, must match CIDR used by the given subnet)
sa-east-1b:
id: ""
cidr: "" # (optional, must match CIDR used by the given subnet)
iam:
withOIDC: true
managedNodeGroups:
- name: default-ng
instanceType: m5.large
minSize: 1
maxSize: 1
desiredCapacity: 1
privateNetworking: true
ssh:
enableSsm: true
cloudWatch:
clusterLogging:
enableTypes: ["*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment