Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Gateway ingress controller not compatible with CNI Overlay #653

Closed
pjlewisuk opened this issue Sep 11, 2023 · 2 comments · Fixed by #672
Closed

Application Gateway ingress controller not compatible with CNI Overlay #653

pjlewisuk opened this issue Sep 11, 2023 · 2 comments · Fixed by #672

Comments

@pjlewisuk
Copy link
Contributor

Describe the bug
As per the docs, CNI Overlay has the following limitations:

  • You can't use Application Gateway as an Ingress Controller (AGIC) for an Overlay cluster.
  • Virtual Machine Availability Sets (VMAS) aren't supported for Overlay.
  • Dual stack networking isn't supported in Overlay.
  • You can't use DCsv2-series virtual machines in node pools. To meet Confidential Computing requirements, consider using DCasv5 or DCadsv5-series confidential VMs instead.

If you try to deploy an AKS cluster with this configuration, you receive an error like:

{
	"status": "Failed",
	"error": {
		"code": "DeploymentFailed",
		"target": "/subscriptions/1ef1298c-a01a-454b-ab6c-2d2203a00553/resourceGroups/az-k8s-iepa-rg/providers/Microsoft.Resources/deployments/main",
		"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
		"details": [{
			"code": "BadRequest",
			"target": "/subscriptions/1ef1298c-a01a-454b-ab6c-2d2203a00553/resourceGroups/az-k8s-iepa-rg/providers/Microsoft.Resources/deployments/main",
			"message": "{\r\n  \"code\": \"AddonInvalid\",\r\n  \"details\": null,\r\n  \"message\": \"Application Gateway Ingress Controller addon is not supported with Azure CNI Overlay\",\r\n  \"subcode\": \"AGICAddonNotSupportedWithAzureCNIOverlay\",\r\n  \"target\": \"networkProfile.networkPluginMode\"\r\n}"
		}]
	}
}

To Reproduce
Steps to reproduce the behavior:

  1. Go to AKS Construction homepage
  2. Navigate to "Addon Details" and check that "Azure Application Gateway Ingress Controller add-on" is selected (it should be, by default)
  3. Navigate to "Networking Details" and select the "CNI Overlay Network" option under "CNI Features"
  4. Deploy the cluster, wait for the deployment to fail with an error similar to above

Expected behavior
A warning message should be displayed in the AKS Construction helper when invalid configuration combinations are selected

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@tim-chaffin
Copy link

I got this message today too:
Failed to save Kubernetes service 'aks-eap-dev-wus2-01'. Error: Application Gateway Ingress Controller addon is not supported with Azure CNI Overlay
Is the workaround to re-build or use a cluster without Overlay enabled?

@github-actions
Copy link
Contributor

Issue smells stale, no activity for 30 days. Stale Label will be removed if the issue is updated, otherwise closed in a month.

@github-actions github-actions bot added the stale An issue that hasn't had a lot of love recently label Oct 13, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2023
@Gordonby Gordonby reopened this Nov 12, 2023
@github-actions github-actions bot added Keep Open and removed stale An issue that hasn't had a lot of love recently labels Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants