Skip to content

Commit 9eceb52

Browse files
authored
Update nmfs-openscapes.jsonnet for gpu
fingers crossed
1 parent bfe2666 commit 9eceb52

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

eksctl/nmfs-openscapes.jsonnet

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@ local notebookNodes = [
7979
labels+: { "2i2c/hub-name": "workshop" },
8080
tags+: { "2i2c:hub-name": "workshop" },
8181
},
82+
{
83+
instanceType: "g4dn.xlarge",
84+
tags+: {
85+
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
86+
},
87+
taints+: {
88+
"nvidia.com/gpu": "present:NoSchedule"
89+
},
90+
// Allow provisioning GPUs across all AZs, to prevent situation where all
91+
// GPUs in a single AZ are in use and no new nodes can be spawned
92+
availabilityZones: masterAzs,
93+
},
8294
];
8395
local daskNodes = [];
8496

0 commit comments

Comments
 (0)