-
Notifications
You must be signed in to change notification settings - Fork 83
/
eks-g4dn.yaml
47 lines (41 loc) · 1 KB
/
eks-g4dn.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
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
# Update cluster name, region, and eks version if needed
metadata:
name: eks-g4dn
version: "1.28"
region: PLACEHOLDER_AWS_REGION
# List availability zones where cluster subnets will be created
availabilityZones:
- PLACEHOLDER_AZ_1
- PLACEHOLDER_AZ_2
# Fully-managed nodegroups
managedNodeGroups:
# Nodegroup for system pods
- name: sys
instanceType: c5.2xlarge
desiredCapacity: 1
iam:
withAddonPolicies:
autoScaler: true
cloudWatch: true
# GPU nodegroup
# List availability zones where instances in from this nodegroup will be launched
- name: g4dn
instanceType: g4dn.8xlarge
instancePrefix: g4dn
privateNetworking: true
efaEnabled: true
minSize: 0
desiredCapacity: 2
maxSize: 10
volumeSize: 500
availabilityZones: ["PLACEHOLDER_AZ_2"]
iam:
withAddonPolicies:
autoScaler: true
cloudWatch: true
ebs: true
fsx: true
iam:
withOIDC: true