MP.AZR.1010 Ensure AKS API server is private
This check enforces a strict private-cluster baseline for AKS: the API server must not use a public endpoint. A public API server with authorized IP ranges is a different, more permissive design and still fails this check; confirm that private access fits the operational requirements before remediation. This is a local custom check, not an automated APRL-mapped check or a universal Well-Architected Framework requirement; apply it according to your organization's baseline and workload requirements.
Remediation action:
- Private cluster mode must be enabled at cluster creation time. Create a new cluster with the
--enable-private-clusterflag:az aks create --resource-group <rg> --name <cluster> --enable-private-cluster - Existing public clusters cannot be converted to private in-place. Plan a migration to a new private cluster.
- Configure a jump box, Azure Bastion, or VPN/ExpressRoute so administrators can reach the private API server endpoint.
- Update any CI/CD pipelines to use self-hosted agents or runners deployed inside the cluster virtual network.
- Verify connectivity by running
kubectl get nodesfrom within the virtual network after migration.
Related links
%TestResult%