Interview Prep/Azure/AKS and ACR

What are Deployment Safeguards and Azure Policy for AKS?

AdvancedConceptAKS and ACR
Answer

The azure-policy add-on installs Gatekeeper and syncs Azure Policy definitions as constraint templates, so policies like "containers must have resource limits", "no privileged containers", "images only from acrshop.azurecr.io" are enforced at admission and reported in Azure Policy compliance.

Deployment Safeguards is a curated set of these best practices with Warning or Enforcement levels, enabled per cluster (--safeguards-level Warning), and automatically on in AKS Automatic.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR