-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy patheks_config_small.yaml
83 lines (76 loc) · 1.68 KB
/
eks_config_small.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# A simple example of ClusterConfig object with two nodegroups:
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: openstudio-server
region: us-east-2
version: "1.31"
vpc:
cidr: 192.168.0.0/16
autoAllocateIPv6: true
clusterEndpoints:
publicAccess: true
privateAccess: true
iam:
withOIDC: true
serviceAccounts:
- metadata:
name: ebs-csi-controller-sa
namespace: kube-system
wellKnownPolicies:
ebsCSIController: true
managedNodeGroups:
- name: web-node-group
instanceType: m7i.xlarge
minSize: 2
maxSize: 2
desiredCapacity: 2
labels:
nodegroup: web-group
privateNetworking: true
iam:
withAddonPolicies:
autoScaler: true
externalDNS: true
certManager: true
ebs: true
ssh:
allow: true
# Update publicKeyPath for your public key
publicKeyPath: ~/.ssh/id_rsa.pub
availabilityZones:
- us-east-2a
volumeSize: 550
volumeType: gp3
- name: worker-node-group
instanceType: c7i.xlarge
minSize: 0
maxSize: 6
desiredCapacity: 1
labels:
nodegroup: worker-group
privateNetworking: true
iam:
withAddonPolicies:
autoScaler: true
externalDNS: true
certManager: true
ebs: true
ssh:
allow: true
# Update publicKeyPath for your public key
publicKeyPath: ~/.ssh/id_rsa.pub
availabilityZones:
- us-east-2c
volumeSize: 400
volumeType: gp3
addons:
- name: eks-pod-identity-agent
version: latest
- name: aws-ebs-csi-driver
version: latest
- name: vpc-cni
version: latest
addonsConfig:
autoApplyPodIdentityAssociations: true