Question 320
Two teams use similarly named vSphere namespaces, and a CLI context switch sends a deployment to the other team's environment. Following the correction (Select the exact approved kubeconfig context and namespace before applying the change and inspect its target scope.), which ongoing safeguard best helps prevent the same issue?
Explanation
Correct Answer
Add explicit context and namespace assertions to administrative deployment scripts. This addresses recurrence of: The operator relied on ambiguous context labels rather than verifying the selected cluster and namespace identity. It supports the operational change: Select the exact approved kubeconfig context and namespace before applying the change and inspect its target scope.
Incorrect Answers
The proposed safeguard is intended for: The application service exposure bypasses the approved ingress access boundary. The reported issue originates from: The operator relied on ambiguous context labels rather than verifying the selected cluster and namespace identity. The targeted prevention is: Add explicit context and namespace assertions to administrative deployment scripts.
Require dependency and data-retention checks for namespace deletion. This measure applies to: Namespace lifecycle cleanup did not inventory workload, storage and recovery dependencies. The control needed to prevent the observed issue is: Add explicit context and namespace assertions to administrative deployment scripts.
Audit tenant and role boundaries whenever namespace permissions are delegated. That addresses a different recurring mechanism. The current causal risk is: The operator relied on ambiguous context labels rather than verifying the selected cluster and namespace identity. The ongoing safeguard is: Add explicit context and namespace assertions to administrative deployment scripts.