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:
Step 1: Understand what a taint does
A taint is applied to a node to repel pods that do not tolerate it.
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.
Final Answer:
To repel pods from nodes unless they have matching tolerations -> Option A