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

AzureManagedControlPlane doesn't support managedNATGateway #5429

Open
bogdanmicu-del opened this issue Feb 14, 2025 · 2 comments
Open

AzureManagedControlPlane doesn't support managedNATGateway #5429

bogdanmicu-del opened this issue Feb 14, 2025 · 2 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@bogdanmicu-del
Copy link

bogdanmicu-del commented Feb 14, 2025

/kind bug

What steps did you take and what happened:
Try to create an azure cluster using AzureManagedControlPlane and AzureManagedCluster and setting outboundType: managedNATGateway.

What did you expect to happen:
The Azure cluster should be created successfully.

Anything else you would like to add:
I can see this error reported on the AzureManagedControlPlane object:
{ "code": "InvalidParameter", "details": null, "message": "Outbound type is managedNATGateway but agent pool '' is using custom VNet, which is not allowed.", "subcode": "ManagedNATGatewayWithCustomVNetNotAllowed", "target": "properties.vnetSubnetID" }

A similar problem was reported over here.

Environment:

  • cluster-api-provider-azure version: v1.17.2
  • Kubernetes version: (use kubectl version):
    Client Version: v1.31.0 Kustomize Version: v5.4.2 Server Version: v1.30.7
  • OS (e.g. from /etc/os-release): N\A
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Feb 14, 2025
@paulapetri
Copy link

@dtzar - can you help us with a fix for this?

@nawazkh nawazkh added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Feb 26, 2025
@willie-yao
Copy link
Contributor

/assign @nawazkh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
Status: Todo
Development

No branches or pull requests

5 participants