Skip to content

Commit

Permalink
Add GPU nodegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Mar 25, 2024
1 parent 51581bc commit 63d3af2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eksctl/bican.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ local notebookNodes = [
{ instanceType: "r5.xlarge" },
{ instanceType: "r5.4xlarge" },
{ instanceType: "r5.16xlarge" },
{
instanceType: "g4dn.xlarge",
tags+: {
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
},
// Allow provisioning GPUs across all AZs, to prevent situation where all
// GPUs in a single AZ are in use and no new nodes can be spawned
availabilityZones: masterAzs,
},
];
local daskNodes = [
// Node definitions for dask worker nodes. Config here is merged
Expand Down

0 comments on commit 63d3af2

Please sign in to comment.