- key: "gpumem"
# Note: to be able to run on a GPU with any amount of memory,
# replace the operator/value pair by just "'operator: "Exists""'.
operator: "Equal"
value: "32"
- 32
- 40
tolerations:
- key: "gpumem"
# not sure if this works, maybe you need two tolerations for the
# two different values, with an "Equal" operator.
operator: "In"
values:
- 32
- 40
effect: "NoSchedule"
# ... rest of the specs like before
</syntaxhighlight>