Skip to content

Commit

Permalink
fix: Changed Karpenter provisioner name to match the correct instance…
Browse files Browse the repository at this point in the history
… type
  • Loading branch information
askulkarni2 authored Oct 17, 2023
2 parents 873e1ce + d216bae commit 86f3170
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ai-ml/jupyterhub/addons.tf
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ module "eks_blueprints_addons" {
]
}
karpenter-resources-mig = {
name = "karpenter-resources-mig"
description = "A Helm chart for karpenter GPU based resources - compatible with GPU MIG"
name = "karpenter-resources-gpu"
description = "A Helm chart for karpenter GPU based resources - compatible with P4d instances"
chart = "${path.module}/helm/karpenter-resources"
values = [
<<-EOT
name: gpu-mig
name: gpu
clusterName: ${module.eks.cluster_name}
instanceSizes: ["24xlarge"]
instanceFamilies: ["p4d"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ singleuser:
image: cschranz/gpu-jupyter:v1.5_cuda-11.6_ubuntu-20.04_python-only
node_selector:
node.kubernetes.io/instance-type: p4d.24xlarge
karpenter.sh/provisioner-name: gpu-p4d
karpenter.sh/provisioner-name: gpu
tolerations:
- key: "nvidia.com/gpu"
operator: "Exists"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ singleuser:
image: cschranz/gpu-jupyter:v1.5_cuda-11.6_ubuntu-20.04_python-only
node_selector:
node.kubernetes.io/instance-type: p4d.24xlarge
karpenter.sh/provisioner-name: gpu-p4d
karpenter.sh/provisioner-name: gpu
tolerations:
- key: "nvidia.com/gpu"
operator: "Exists"
Expand Down

0 comments on commit 86f3170

Please sign in to comment.