Skip to content

Commit

Permalink
Merge pull request 2i2c-org#4990 from sgibson91/nasa-veda/eksctl
Browse files Browse the repository at this point in the history
eksctl updates for VEDA cluster
  • Loading branch information
sgibson91 authored Oct 21, 2024
2 parents ba3f4f0 + 3c38ad8 commit baad6cf
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions eksctl/nasa-veda.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ local notebookNodes = [
labels+: { "2i2c/hub-name": "prod" },
tags+: { "2i2c:hub-name": "prod" }
},
// FIXME: tainted, to be deleted when empty, replaced by equivalent during k8s upgrade
{
instanceType: "r5.4xlarge",
namePrefix: "nb-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: { "2i2c:hub-name": "prod" }
},
{
instanceType: "r5.4xlarge",
namePrefix: "nb-prod",
Expand All @@ -85,11 +78,29 @@ local notebookNodes = [
},
{
instanceType: "g4dn.xlarge",
namePrefix: "gpu-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: {
"2i2c:hub-name": "staging",
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
},
taints+: {
"nvidia.com/gpu": "present:NoSchedule"
},
// 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,
},
{
instanceType: "g4dn.xlarge",
namePrefix: "gpu-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: {
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
"2i2c:hub-name": "prod",
"k8s.io/cluster-autoscaler/node-template/resources/nvidia.com/gpu": "1"
},
taints+: {
"nvidia.com/gpu": "present:NoSchedule"
"nvidia.com/gpu": "present:NoSchedule"
},
// 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
Expand Down

0 comments on commit baad6cf

Please sign in to comment.