Add validation for AGIC subnet configuration#5832
Open
rahulrai-in wants to merge 4 commits into
Open
Conversation
Added validation for Ingress Application Gateway configurations to prevent use of the reserved 'aks-appgateway' subnet, ensuring compliance with subnet delegation constraints.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the AKS repository changelog to document a new validation behavior for the Ingress Application Gateway (AGIC) add-on, preventing use of the reserved aks-appgateway subnet to align with subnet delegation constraints.
Changes:
- Added a changelog entry describing the new AGIC subnet validation and guidance for selecting a different subnet.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| * AKS now allows migration from the `managedNATGatewayV2` outbound type to the `block` and `none` outbound types, supporting [network-isolated cluster](https://learn.microsoft.com/azure/aks/concepts-network-isolated) scenarios. Migration to other outbound types remains blocked. | ||
| * AKS now validates pod CIDR ranges during cluster create and update for kubenet and [Azure CNI Overlay](https://learn.microsoft.com/azure/aks/azure-cni-overlay) clusters. Clusters can no longer be created or updated with a pod CIDR that overlaps with reserved IP ranges (`172.30.0.0/16`, `172.31.0.0/16`), preventing potential in-cluster networking failures. Existing clusters with an overlapping pod CIDR are unaffected. See [CNI prerequisites](https://learn.microsoft.com/azure/aks/concepts-network-cni-overview#prerequisites). | ||
| * AKS now rejects [Calico NPM and Azure NPM](https://learn.microsoft.com/azure/aks/use-network-policies) install and uninstall operations on clusters running Kubernetes versions earlier than 1.30. Requests are rejected at the API level with a descriptive error directing customers to upgrade to a newer supported Kubernetes version before retrying. Existing clusters already using Calico NPM or Azure NPM are unaffected. | ||
| * AKS now blocks the [Application Gateway Ingress Controller (AGIC)](https://learn.microsoft.com/azure/application-gateway/ingress-controller-overview) add-on from using the AKS-managed `aks-appgateway` subnet. This subnet is reserved for Application Gateway for Containers (AGC) and can't be used by AGIC due to subnet delegation constraints. Requests using this configuration now fail validation. Use a dedicated subnet by specifying `--appgw-subnet-id` (or `--appgw-subnet-cidr` during cluster create). |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added validation for Ingress Application Gateway configurations to prevent use of the reserved 'aks-appgateway' subnet, ensuring compliance with subnet delegation constraints.