Created
June 24, 2020 11:57
-
-
Save tomellis/3cea3023833e52a457ca9fb86a528360 to your computer and use it in GitHub Desktop.
EKSCTL Win & Linux with existing VPC example
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: eks1 | |
region: eu-west-1 | |
version: '1.16' | |
vpc: | |
id: "vpc-1234567890" | |
cidr: "172.18.0.0/16" | |
subnets: | |
private: | |
eu-west-1a: | |
id: "subnet-1234567890abc" | |
cidr: "172.18.32.0/21" | |
eu-west-1b: | |
id: "subnet-1234567890abd" | |
cidr: "172.18.40.0/21" | |
eu-west-1c: | |
id: "subnet-1234567890abce" | |
cidr: "172.18.48.0/21" | |
managedNodeGroups: | |
- name: linux-ng2 | |
instanceType: t2.large | |
desiredCapacity: 1 | |
privateNetworking: true # if only 'Private' subnets are given, this must be enabled | |
ssh: | |
publicKeyName: 'my-key' | |
allow: true | |
nodeGroups: | |
- name: windows-ng2 | |
instanceType: m5.large | |
desiredCapacity: 1 | |
privateNetworking: true # if only 'Private' subnets are given, this must be enabled | |
ssh: | |
publicKeyName: 'mykey' | |
allow: true | |
volumeSize: 100 | |
amiFamily: WindowsServer2019CoreContainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment