Skip to content

Commit 392979c

Browse files
Also support g4dn.2xlarge machines
1 parent 9499851 commit 392979c

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

eksctl/dandi.jsonnet

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,22 @@ local notebookNodes = [
2929
{ instanceType: "r5.4xlarge" },
3030
{ instanceType: "r5.16xlarge" },
3131
{
32-
instanceType: "g4dn.xlarge",
33-
tags+: {
34-
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
35-
},
36-
// Allow provisioning GPUs across all AZs, to prevent situation where all
37-
// GPUs in a single AZ are in use and no new nodes can be spawned
38-
availabilityZones: masterAzs,
32+
instanceType: "g4dn.xlarge",
33+
tags+: {
34+
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
35+
},
36+
// Allow provisioning GPUs across all AZs, to prevent situation where all
37+
// GPUs in a single AZ are in use and no new nodes can be spawned
38+
availabilityZones: masterAzs,
39+
},
40+
{
41+
instanceType: "g4dn.2xlarge",
42+
tags+: {
43+
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
44+
},
45+
// Allow provisioning GPUs across all AZs, to prevent situation where all
46+
// GPUs in a single AZ are in use and no new nodes can be spawned
47+
availabilityZones: masterAzs,
3948
}
4049
];
4150
local daskNodes = [

0 commit comments

Comments
 (0)