Add toleration to make sure the apps run on the gpu worker

This commit is contained in:
dvirlabs 2026-03-02 03:52:54 +02:00
parent fdc6a5040a
commit 06304a462d
2 changed files with 8 additions and 4 deletions

View File

@ -23,8 +23,10 @@ nodeSelector:
# Tolerate GPU node taint
tolerations:
- key: gpu
operator: Equal
value: "true"
operator: Exists
effect: NoSchedule
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
persistentVolume:

View File

@ -27,6 +27,8 @@ nodeSelector:
# Tolerate GPU node taint
tolerations:
- key: gpu
operator: Equal
value: "true"
operator: Exists
effect: NoSchedule
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule