Question 260
A Kubernetes administrator recommends: Manage the application under a Deployment with a suitable replica count instead of relying on a standalone Pod. Which situation most directly calls for that operation?
Explanation
Correct Answer
This is the original issue addressed by Deployment self-healing controller: The controller creates replacement Pod replicas to restore the declared workload state.
Incorrect Answers
That separate problem requires another operation: Configure a rolling update strategy with maxUnavailable: 0 and an appropriate positive maxSurge. The Deployment can temporarily add replacement replicas without intentionally reducing available capacity.
That separate problem requires another operation: Install or repair a compatible metrics-server and verify kubectl top pods before tuning the HPA. CPU utilization metrics become available for the HPA controller to compute replica recommendations.
That separate problem requires another operation: Set requiredDuringSchedulingIgnoredDuringExecution nodeAffinity selecting accelerator=nvidia. The scheduler restricts placement to nodes satisfying the mandatory label expression.