Skip to content

Commit

Permalink
use karpenter based node-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Oct 25, 2024
1 parent 8fb7ff8 commit 3021164
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions charts/kubeai/values-eks.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
resourceProfiles:
nvidia-gpu-l4:
nodeSelector:
# This only works if you use Karpenter.
karpenter.k8s.aws/instance-gpu-name: "l4"
nvidia-gpu-l40s:
nodeSelector:
# This only works if you use Karpenter.
karpenter.k8s.aws/instance-gpu-name: "l40s"
nvidia-gpu-h100:
nodeSelector:
# H100 have 8 GPU machine shapes only. This doesn't require Karpenter.
node.kubernetes.io/instance-type: "p5.48xlarge"
karpenter.k8s.aws/instance-gpu-name: "h100"
nvidia-gpu-a100-80gb:
nodeSelector:
# A100 have 8 GPU machine shapes only. This doesn't require Karpenter.
node.kubernetes.io/instance-type: "p4d.24xlarge"
karpenter.k8s.aws/instance-gpu-name: "a100"
karpenter.k8s.aws/instance-gpu-memory: "81920"
nvidia-gpu-a100-40gb:
nodeSelector:
# A100 have 8 GPU machine shapes only. This doesn't require Karpenter.
node.kubernetes.io/instance-type: "p4de.24xlarge"
karpenter.k8s.aws/instance-gpu-name: "a100"
karpenter.k8s.aws/instance-gpu-memory: "40960"

cacheProfiles:
efs-dynamic:
Expand Down

0 comments on commit 3021164

Please sign in to comment.