Question 220
A Kubernetes administrator recommends: Create the required Secret in payments and reference its namespaced name from the Pod specification. Which situation most directly calls for that operation?
Explanation
Correct Answer
This is the original issue addressed by Namespace-specific Secret resolution: The Pod resolves a Secret in its own namespace rather than relying on another namespace's object.
Incorrect Answers
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: Use kubectl rollout undo deployment/api followed by rollout status to return to the previous revision. The workload returns to the previous Pod template while the Deployment controller manages replacement replicas.
That separate problem requires another operation: Use a startupProbe with sufficient failureThreshold and periodSeconds before normal liveness checks begin. The application gets startup time without disabling ongoing liveness detection after initialization.