Bird
0
0

What is the main purpose of a taint in Kubernetes?

easy📝 Conceptual Q11 of 15
Kubernetes - Scheduling
What is the main purpose of a taint in Kubernetes?
ATo repel pods from nodes unless they have matching tolerations
BTo allow pods to run on any node without restrictions
CTo label pods for easier identification
DTo increase node resource limits automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand what a taint does

    A taint is applied to a node to repel pods that do not tolerate it.
  2. Step 2: Compare with other options

    Options B, C, and D describe unrelated features: pod scheduling without restrictions, pod labeling, and resource limits, which are not taint functions.
  3. Final Answer:

    To repel pods from nodes unless they have matching tolerations -> Option A
  4. Quick Check:

    Taints repel pods without tolerations = A [OK]
Quick Trick: Taints push pods away; tolerations allow pods to stay [OK]
Common Mistakes:
  • Confusing taints with labels
  • Thinking taints increase resources
  • Assuming taints allow all pods

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes