Skip to the content.

Kubernetes - Taints and Tolerations â˜ĸī¸

Description 👀

Taints and Tolerations are features that allow you to control the placement of pods on nodes. Taints are applied to nodes, and tolerations are applied to pods.A taint on a node instructs the node to repel all pods that do not tolerate the taint.


Basic Commands 📝

Taints - Node

Tolerations - Pod

spec:
  tolerations:
    - key: app
      operator: "Equal"
      value: blue
      effect: NoSchedule


Examples 🧩


Bee and Mosquito Example 🐝đŸĻŸ


↩ī¸