Question 460
At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: Deployment invoice-api in ledger needs a controlled rolling restart to pick up externally updated mounted configuration. 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
Check disruption budgets and readiness behavior before application restarts. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n ledger rollout restart deployment/invoice-api. The relevant mechanism is: Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy.
Incorrect Answers
That safeguard is relevant to: A toleration allows a Pod past a matching taint but does not ensure placement without node selection and capacity. The current failure instead follows from: Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy. Its prevention measure is “Check disruption budgets and readiness behavior before application restarts”.
The suggested review tracks a different technical risk: Node selectors constrain scheduling to nodes whose labels match all specified key/value pairs; patching the Pod template triggers a rollout. Here the sustained control must address: Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy. Choose “Check disruption budgets and readiness behavior before application restarts”.
That safeguard is relevant to: A successful API mutation does not guarantee updated Pods are healthy and available; rollout status tracks controller progress. The current failure instead follows from: Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy. Its prevention measure is “Check disruption budgets and readiness behavior before application restarts”.