-
Notifications
You must be signed in to change notification settings - Fork 1
/
cluster.yaml
48 lines (41 loc) · 913 Bytes
/
cluster.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
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: training
region: eu-central-1
version: "1.30"
tags:
karpenter.sh/discovery: training
iam:
withOIDC: true
managedNodeGroups:
- name: ng-1
labels: { role: worker }
instanceType: t2.medium
desiredCapacity: 2
minSize: 1
maxSize: 3
tags:
nodegrouprole: training
volumeSize: 20
updateConfig:
maxUnavailablePercentage: 50
iam:
withAddonPolicies:
externalDNS: true
certManager: true
awsLoadBalancerController: true
albIngress: true
ebs: true
efs: true
imageBuilder: true
cloudWatch: true
ssh:
allow: true # will use ~/.ssh/id_rsa.pub as the default ssh key
addons:
- name: aws-ebs-csi-driver
- name: vpc-cni
karpenter:
version: '0.37.0'
createServiceAccount: true
withSpotInterruptionQueue: true