Skip to content

Commit

Permalink
add nvidia-gpu-8gb resource profile
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Dec 2, 2024
1 parent d834b1c commit 94fb6b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/kubeai/values-nvidia-k8s-device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ resourceProfiles:
nodeSelector:
nvidia.com/gpu.family: "ampere"
nvidia.com/gpu.memory: "40960"
nvidia-gpu-8gb:
nodeSelector:
nvidia.com/gpu.memory: "8188"
10 changes: 9 additions & 1 deletion charts/kubeai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,15 @@ resourceProfiles:
operator: "Equal"
value: "present"
effect: "NoSchedule"

nvidia-gpu-8gb:
imageName: "nvidia-gpu"
limits:
nvidia.com/gpu: "1"
tolerations:
- key: "nvidia.com/gpu"
operator: "Equal"
value: "present"
effect: "NoSchedule"

cacheProfiles: {}

Expand Down

0 comments on commit 94fb6b4

Please sign in to comment.