Throughout the development lifecycle, it’s common for bugs, issues, and other problems to arise if misconfigurations have taken place during the initial deployment of your Kubernetes resources.
To make it easier to implement best practices when deploying to Kubernetes, Azure Kubernetes Service (AKS) now offers deployment safeguards – a new feature that enforces Kubernetes best practices in your AKS cluster through Azure Policy controls.
You can benefit from oversight of your Kubernetes manifest files via two configuration levels: ‘Warning’ and ‘Enforcement’. ‘Warning’ level enables you to receive immediate warnings for improperly configured manifest files at the time of deployment. ‘Enforcement’ level blocks such files from being deployed outright.