Created
March 5, 2023 02:32
-
-
Save Kikiodazie/4e2a3cdc79821c5e3e7429a2203647a2 to your computer and use it in GitHub Desktop.
Demo EKS cluster configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: main-garden-cluster | |
region: us-east-1 | |
vpc: | |
subnets: | |
private: | |
us-east-1a: { id: <your_us-east-1a_subnet_id> } | |
us-east-1b: { id: <your_us-east-1b_subnet_id> } | |
us-east-1c: { id: <your_us-east-1c_subnet_id> } | |
nodeGroups: | |
- name: ng-1-workers | |
labels: { role: workers } | |
instanceType: t3.small | |
desiredCapacity: 2 | |
privateNetworking: true | |
- name: ng-2-builders | |
labels: { role: builders } | |
instanceType: t3.small | |
desiredCapacity: 2 | |
privateNetworking: true | |
iam: | |
withAddonPolicies: | |
imageBuilder: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To create the cluster using eksctl simply run the following command: