Question 330
At Horizon observability, in a disposable simulated environment during a monitored release window: An operator needs to confirm rollout completion for Deployment metrics-api in namespace observability, not just see that its spec changed. 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 successful API mutation does not guarantee updated Pods are healthy and available; rollout status tracks controller progress. This explains the stated condition. The corresponding action is: Run kubectl -n observability rollout status deployment/metrics-api --timeout=120s. The direct acceptance evidence is: Run kubectl -n observability get deployment metrics-api and confirm updated and available replicas match the desired count.
Incorrect Answers
HPA evaluates metrics relative to Pod resource requests; missing metrics or requests can leave desired replicas unknown. That explanation applies to a different technical failure. Here the controlling principle is: A successful API mutation does not guarantee updated Pods are healthy and available; rollout status tracks controller progress.
The offered statement is true for this other mechanism: Rollout restart annotates the Pod template so the Deployment controller replaces Pods according to its rollout strategy. It does not explain the facts described here, which follow from: A successful API mutation does not guarantee updated Pods are healthy and available; rollout status tracks controller progress.
This principle describes a separate cause: A Deployment tracks ReplicaSet revisions and rollout undo restores a recorded earlier Pod template. The reported condition is governed by: A successful API mutation does not guarantee updated Pods are healthy and available; rollout status tracks controller progress. The two mechanisms should not be conflated.