Changes

Jump to navigation Jump to search

Cluster:Compute nodes

4 bytes removed, 4 years ago
m
Acquiring GPUs with more than 20 GB
So if your tasks for example requires a GPU with *exactly* 32 GB, you have to
# make the pod tolerate the taint "gpumem=32:NoSchedule" (see table below).# make the pod require at the node label "gpumem=" to be exactly 32".
See the [https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ Kubernetes API documentation on taints and tolerations] for more details.
If you need a GPU with *at least* 32 GB, but also would be happy with 40more, you have to
# make the pod tolerate the taint "gpumem-32" *and* "gpumem-40".
# make the pod require the node label "gpumem-32" *or* "gpumem-40"to be larger than 31.
Example:
- matchExpressions:
- key: gpumem
operator: InGt valuesvalue: - 32 - 40
tolerations:
- key: "gpumem"

Navigation menu