Ensure that your Azure Kubernetes Service (AKS) clusters are configured to use the latest version of the Container Networking Interface (CNI) plugin for managing network access. The CNI plugin used must support Kubernetes network policies.
excellence
Network policies are Kubernetes resources that allow you to control the traffic between pods and services within the cluster. These policies are useful for enforcing security policies, isolating applications, and debugging network connectivity issues. Network policies rely on the Container Networking Interface (CNI) plugin for enforcement. Using an outdated or unsupported CNI plugin can prevent effective traffic restriction within your AKS cluster.
Audit
To determine if your AKS clusters are using the latest version of the CNI plugin, perform the following operations:
Remediation / Resolution
To ensure that your Azure Kubernetes Service (AKS) clusters are configured with the latest version of the Container Networking Interface (CNI) plugin for managing network access, you must upgrade the AKS clusters to the latest version of the Kubernetes software. To upgrade your AKS clusters, perform the following operations:
References
- Azure Official Documentation
- Security Control V2: Network Security
- Configure Azure CNI networking in Azure Kubernetes Service (AKS)
- Networking concepts for applications in Azure Kubernetes Service (AKS)
- Secure traffic between pods by using network policies in AKS
- Configure Azure CNI Powered by Cilium in Azure Kubernetes Service (AKS)
- Upgrade options for Azure Kubernetes Service (AKS) clusters
- Supported Kubernetes versions in Azure Kubernetes Service (AKS)
- Azure PowerShell Documentation
- az account list
- az account set
- az aks list
- az aks show
- az aks get-upgrades
- az aks upgrade