Linux serverNETWORK ADMINISTRATIONSredhat

Taints and Tolerations – OpenShift Administration RedHat Ex280

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 — https://www.youtube.com/playlist?list=PLnFCwVWiQz4kASpMbCXRmAu6nKtPOBE4Q

** For detail about OpenShift development —

………………………………..

source

by Tech Tejendra

redhat openstack

6 thoughts on “Taints and Tolerations – OpenShift Administration RedHat Ex280

Comments are closed.