Рет қаралды 5,078
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, Contai...
** For detail about OpenShift development --
• OpenShift Tutorial
......................................