Tolerations

Why we need Tolerations ?

Tolerations can be specified on Pods Based on the taints on the nodes , Pods will scheduler will allow to run the Pod on the node.

Toleration syntax in Pod spec.

spec:
  tolerations:
    - key: node-role.kubernetes.io/master
      effect: NoSchedule