Skip to main content

What is tainting a node and why is it used?

Junior Kubernetes
Quick Answer A taint on a node repels Pods that don't explicitly tolerate it. Use it to reserve nodes for specific workloads รขโ‚ฌโ€ taint GPU nodes so only GPU-requesting Pods land there, taint production nodes so dev Pods can't accidentally run on them. Tolerations on Pods say "I'm okay with this taint" รขโ‚ฌโ€ they can still land on tainted nodes.

Answer

Taints prevent scheduling unless Pods have tolerations.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice