Difference between revisions of "Kubernetes taints and tolerations"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
Taints allow a [[node]] to repel a set of pods, in opposite to [[Node Affinity]]
 
Taints allow a [[node]] to repel a set of pods, in opposite to [[Node Affinity]]
 
 
* https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
 
* https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
 +
A taint consists of a key, value, and effect. As an argument here, it is expressed as <code>[[key=value:effect]]</code>. The effect must be <code>[[NoSchedule]], [[PreferNoSchedule]] or [[NoExecute]].</code>
  
 
* <code>[[kubectl taint]]</code>
 
* <code>[[kubectl taint]]</code>
 
 
* A taint consists of a key, value, and effect. As an argument here, it is expressed as <code>[[key=value:effect]]</code>
 
* The effect must be <code>[[NoSchedule]], [[PreferNoSchedule]] or [[NoExecute]].</code>
 
  
  

Revision as of 08:29, 24 October 2023

Advertising: