Question 140
At Horizon observability, in a disposable simulated environment during a monitored release window: The administrator must stop new Pods landing on worker worker-b while examining it, without evicting existing Pods. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Record node maintenance ownership and uncordon obligations before opening a window. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl cordon worker-b. The relevant mechanism is: Cordon marks a Node unschedulable to new Pods but does not drain running workloads.
Incorrect Answers
This routine guards against another mechanism: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. The recurring exposure in the current case is: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The matching preventive check is “Record node maintenance ownership and uncordon obligations before opening a window”.
That safeguard is relevant to: A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. The current failure instead follows from: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. Its prevention measure is “Record node maintenance ownership and uncordon obligations before opening a window”.
This routine guards against another mechanism: Drain cordons the node and requests evictions for eligible Pods; the ignore-daemonsets flag is needed because DaemonSet Pods are not deleted by drain. The recurring exposure in the current case is: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The matching preventive check is “Record node maintenance ownership and uncordon obligations before opening a window”.