DELAPARRA
Index
Color
NL
Category: Kubernetes

toleration

Explained by Updated

What is toleration?

toleration: A Pod's permission to schedule onto a node with a matching taint. Tolerations do not force placement — they only allow it. A toleration lets a pod be scheduled on a node that has a matching taint. Without the toleration, the taint keeps the pod away. Tolerations only permit placement; they do not force it. A pod that tolerates the GPU taint can still land on an ordinary node. To make sure it goes to the GPU node, add node affinity or a node selector as well.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about toleration

What should you keep in mind with toleration?

You will see tolerations on system pods and DaemonSets, which need to run on every node, including tainted ones. Some tolerations also have a time limit, for example how long a pod may stay on a node that has become unreachable before it is moved. Keep your own tolerations specific, so pods do not end up on reserved or unhealthy nodes by accident.

What does an example of toleration look like?

spec: tolerations: - key: "dedicated" operator: "Equal" value: "gpu" effect: "NoSchedule"

At a glance

CategoryKubernetes
Explained by
Updated

More Kubernetes terms

All terms starting with T

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.