Kubernetes - SchedulingWhy might a Kubernetes administrator prefer using taints and tolerations over node selectors for scheduling control?ANode selectors allow pods to ignore node conditionsBTaints repel pods unless tolerated, allowing flexible exclusionCTaints increase node resource limits dynamicallyDNode selectors automatically remove pods from nodesCheck Answer
Step-by-Step SolutionSolution:Step 1: Compare taints/tolerations with node selectorsNode selectors only select nodes by labels; taints repel pods unless they tolerate them.Step 2: Understand flexibility of taintsTaints allow nodes to repel pods dynamically, giving admins more control over scheduling exclusions.Final Answer:Taints repel pods unless tolerated, allowing flexible exclusion -> Option BQuick Check:Taints provide flexible pod exclusion = D [OK]Quick Trick: Taints repel pods; node selectors only filter nodes [OK]Common Mistakes:Thinking node selectors remove podsBelieving taints change node resourcesAssuming node selectors ignore node conditions
Master "Scheduling" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes Health Checks and Probes - HTTP probe configuration - Quiz 9hard Health Checks and Probes - Readiness probe concept - Quiz 13medium Ingress - Ingress resource definition - Quiz 14medium Ingress - Ingress annotations for customization - Quiz 11easy Ingress - TLS termination with Ingress - Quiz 13medium Networking - Service mesh concept overview - Quiz 12easy Persistent Storage - Storage classes for dynamic provisioning - Quiz 13medium Persistent Storage - StatefulSet ordering and naming - Quiz 15hard Scheduling - Pod priority and preemption - Quiz 7medium Secrets - External secret management integration - Quiz 14medium