Taints and Tolerations - OpenShift Administration RedHat Ex280

Опубликовано: 14 Март 2026
на канале: Tech Tejendra
6,365
85

Taint and Tolerations are not related to security
Taints and tolerations allow the node to control which pods should (or should not) be scheduled on them.
Taint will be applied on NODE.
Tolerations will be applied on POD

Effect – NoSchedule / PreferNoSchedule / NoExecute

oc adm taint nodes master01 planet=earth:NoExecute

oc adm taint nodes master01 planet-

Tlerations in POD definition yaml file
Example -
kind: Pod
spec:
containers:
...
...
tolerations:
key: "name"
operator: "Equal"
value: "value"
effect: "NoSchedule"


......................................
** If new to Docker, Podman, Kubernetes and Openshift then first see --    • Docker, Podman, Containers, Kubernetes and...  

** For detail about OpenShift development --
   • OpenShift Tutorial  
......................................