Question 110
At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: Prevent general workloads from scheduling on worker-a until they explicitly tolerate special=dedicated:NoSchedule. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?
Explanation
Correct Answer
A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. This explains the stated condition. The corresponding action is: Run kubectl taint nodes worker-a special=dedicated:NoSchedule after confirming it is absent. The direct acceptance evidence is: Run kubectl describe node worker-a and inspect the Taints field for the intended key, value and effect.
Incorrect Answers
Drain cordons the node and requests evictions for eligible Pods; the ignore-daemonsets flag is needed because DaemonSet Pods are not deleted by drain. That explanation applies to a different technical failure. Here the controlling principle is: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.
The offered statement is true for this other mechanism: A ResourceQuota caps combined admitted requests in a namespace; per-Pod limits alone do not enforce a namespace-wide budget. It does not explain the facts described here, which follow from: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods.
This principle describes a separate cause: ServiceAccounts provide workload identity; creating one does not automatically grant extra RBAC permissions. The reported condition is governed by: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The two mechanisms should not be conflated.