forked from eksctl-io/eksctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path04-existing-vpc.yaml
32 lines (27 loc) · 1.03 KB
/
04-existing-vpc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# An example of ClusterConfig object using an existing VPC:
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: cluster-4
region: eu-north-1
vpc:
id: "vpc-0dd338ecf29863c55" # (optional, must match VPC ID used for each subnet below)
cidr: "192.168.0.0/16" # (optional, must match CIDR used by the given VPC)
subnets:
# must provide 'private' and/or 'public' subnets by availibility zone as shown
private:
eu-north-1a:
id: "subnet-0b2512f8c6ae9bf30"
cidr: "192.168.128.0/19" # (optional, must match CIDR used by the given subnet)
eu-north-1b:
id: "subnet-08cb9a2ed60394ce3"
cidr: "192.168.64.0/19" # (optional, must match CIDR used by the given subnet)
eu-north-1c:
id: "subnet-00f71956cdec8f1dc"
cidr: "192.168.0.0/19" # (optional, must match CIDR used by the given subnet)
nodeGroups:
- name: ng-1
instanceType: m5.xlarge
desiredCapacity: 2
privateNetworking: true # if only 'Private' subnets are given, this must be enabled