Add toleration to make sure the apps run on the gpu worker
This commit is contained in:
parent
fdc6a5040a
commit
06304a462d
@ -23,8 +23,10 @@ nodeSelector:
|
|||||||
# Tolerate GPU node taint
|
# Tolerate GPU node taint
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: gpu
|
- key: gpu
|
||||||
operator: Equal
|
operator: Exists
|
||||||
value: "true"
|
effect: NoSchedule
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
|
||||||
persistentVolume:
|
persistentVolume:
|
||||||
|
|||||||
@ -27,6 +27,8 @@ nodeSelector:
|
|||||||
# Tolerate GPU node taint
|
# Tolerate GPU node taint
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: gpu
|
- key: gpu
|
||||||
operator: Equal
|
operator: Exists
|
||||||
value: "true"
|
effect: NoSchedule
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user