Skip to content

Commit e6fc722

Browse files
Add GPU nodegroup
1 parent 8ba8663 commit e6fc722

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

eksctl/dandi.jsonnet

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ local notebookNodes = [
2828
{ instanceType: "r5.xlarge" },
2929
{ instanceType: "r5.4xlarge" },
3030
{ instanceType: "r5.16xlarge" },
31+
{
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+
}
3140
];
3241
local daskNodes = [
3342
// Node definitions for dask worker nodes. Config here is merged

0 commit comments

Comments
 (0)