A hospital platform team deploys a new Kubernetes cluster for clinical workloads and installs the admission controller, yet pods violating the organization's existing blocking admission rules continue to schedule without rejection. Other older clusters still block identical deployments. What should the team verify first?
Select an answer to reveal the explanation.
Short Explanation
Installing the gatekeeper does not help if you never add the new building to its patrol route. The trap is assuming an existing admission policy automatically covers every new deployment. You should verify effective KAC policy host-group assignment and matching namespace/label rule-group scope for the new deployment.
Full Explanation
Selecting Verify effective KAC policy host-group assignment and matching namespace/label rule-group scope for the new deployment. addresses the exact gap when older clusters enforce rules properly while a newly deployed cluster allows non-compliant pods. The documented KAC policy attaches to host groups; its ordered rule groups select namespaces/labels. Confirm enabled/Prevent mode and actual webhook selection as well. That is why installing the controller alone does not enforce blocking if the new deployment is not selected by the effective policy assignment. By contrast, Rewrite the image assessment policy to inspect live pod network traffic confuses pre-runtime image scanning with runtime network monitoring and does not affect admission decisions. Choosing Delete the existing cloud posture policies assigned to the AWS account is unrelated to Kubernetes admission enforcement and would remove cloud control-plane visibility. Choosing Configure a scheduled compliance report to block non-compliant pod launches fails because scheduled reports only summarize findings periodically and cannot intercept Kubernetes API deployment requests. As a caveat, even after correcting scope, confirm that the policy is in blocking mode rather than alert-only mode if pods are still allowed to start.
Prefer to study offline? Printable PDF study book + test engine ($7.50, unofficial). These questions stay free here.