forked from kubernetes-sigs/dra-driver-nvidia-gpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheksctl.yaml
More file actions
63 lines (63 loc) · 1.33 KB
/
eksctl.yaml
File metadata and controls
63 lines (63 loc) · 1.33 KB
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
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: ${CLUSTER_NAME}
region: ${AWS_REGION}
version: "${EKS_VERSION}"
availabilityZones:
${EKS_CP_AZS}
managedNodeGroups:
- name: system
amiFamily: AmazonLinux2023
instanceType: m6g.large
privateNetworking: true
desiredCapacity: 2
minSize: 2
maxSize: 4
labels:
role: system
taints:
- key: CriticalAddonsOnly
effect: NoSchedule
updateConfig:
maxUnavailable: 1
- name: gpu
amiFamily: AmazonLinux2023
instanceType: ${INSTANCE_TYPE}
privateNetworking: true
desiredCapacity: 1
minSize: 1
maxSize: 4
labels:
role: gpu
nvidia.com/gpu.present: "true"
taints:
- key: nvidia.com/gpu
effect: NoSchedule
updateConfig:
maxUnavailable: 1
overrideBootstrapCommand: |
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
spec:
kubelet:
config:
featureGates:
DynamicResourceAllocation: true
cloudWatch:
clusterLogging:
enableTypes: ["*"]
addons:
- name: vpc-cni
version: latest
- name: coredns
version: latest
configurationValues: |-
nodeSelector:
role: system
- name: eks-pod-identity-agent
version: latest
- name: kube-proxy
version: latest
iam:
withOIDC: true