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
|
||||
tolerations:
|
||||
- key: gpu
|
||||
operator: Equal
|
||||
value: "true"
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
- key: nvidia.com/gpu
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
|
||||
persistentVolume:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user