Differences between revisions 3 and 4
Revision 3 as of 2021-10-20 06:24:08
Size: 665
Editor: PieterSmit
Comment:
Revision 4 as of 2021-10-20 07:21:14
Size: 742
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
   * Note, node can be tainted with key:<effect> and not value for the key.

k8s/StudyNotes/ Taints & Tolerations

  • Taint's added to Node

    • There is 3 taint effects, for pods with no Toleration for the taint key=value:taint-effect
      1. NoSchedule

      2. PreferNoSchedule

      3. NoExecute => After taint, kills pods on node that cant tolerate taint.

    • Add a taint to a node Node1A

      kubectl taint nodes node1A app=MyPods:NoSchedule
  • Pods can have Toleration's they can tolerate the taint, and still schedule to a Tainted node.

  • The Master Node, starts with taint

    kubectl describe node kubemaster | grep Taint
    • Note, node can be tainted with key:<effect> and not value for the key.

k8s/StudyNotes/TaintsAndTolerations (last edited 2021-10-20 07:21:14 by PieterSmit)