Azure Policy allows us to manage the state of compliance of our Azure services.
Azure Policy works with AKS in two ways: control plane level and workload level.
To enable Azure Policy, the cluster must use a supported version of Kubernetes.
With Terraform, configuring Azure Policy for AKS cluster is straightforward.
The Azure Policy initiative Kubernetes cluster pod security baseline standards for Linux-based workloads includes policies for the Kubernetes cluster pod security standards.
We can view the state of our compliance in the Azure Portal.
The article also offers additional resources to learn about Azure Policy and AKS cluster.