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.
More on AKS and ACR
What does Microsoft manage in AKS and what do you manage?BeginnerWhat is the difference between system and user node pools?BeginnerCompare the AKS networking options: kubenet, Azure CNI, Azure CNI Overlay, Azure CNI Powered by Cilium.AdvancedHow many IPs does an AKS subnet need with flat Azure CNI vs Overlay?AdvancedWhat are the AKS tiers (Free, Standard, Premium)?IntermediateHow do AKS Kubernetes version upgrades work?Intermediate