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

[AVM Module Issue]: 0.5.1 incompatible with BYO vnet PodSubnetID container-service/managed-cluster #3860

Open
1 task done
KLuuKer opened this issue Nov 29, 2024 · 2 comments
Assignees
Labels
Class: Resource Module 📦 This is a resource module Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue Type: Bug 🐛 Something isn't working

Comments

@KLuuKer
Copy link

KLuuKer commented Nov 29, 2024

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Bug

Module Name

avm/res/container-service/managed-cluster

(Optional) Module Version

0.5.1

Description

0.5.1 ❌ introduced a braking change when used with BYO vnet "PodSubnetID"
0.5.0 ✅ worked fine previously

primaryAgentPoolProfiles: [
  {
    vnetSubnetResourceId: aksSystemNodeSubnet.id
    podSubnetResourceId: aksSystemPodSubnet.id
    // other config omitted..
  }
]
agentPools: [
  {
    vnetSubnetResourceId: aksUserNodeSubnet.id
    podSubnetResourceId: aksUserPodSubnet.id
    // other config omitted..
  }
]

networkDataplane: 'cilium'
networkPlugin: 'azure'
networkPluginMode: null

which results with the following error:

Preflight validation check for resource(s) for container service myakscluster in resource group myresourcegroup failed.
Message: NetworkPluginMode overlay cannot be used with PodSubnetID.
Details: (Code: BadRequest)

(Optional) Correlation Id

No response

@KLuuKer KLuuKer added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Nov 29, 2024

Important

The "Needs: Triage 🔍" label must be removed once the triage process is complete!

Tip

For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Type: Bug 🐛 Something isn't working label Nov 29, 2024
@avm-team-linter avm-team-linter bot added the Class: Resource Module 📦 This is a resource module label Nov 29, 2024
@github-project-automation github-project-automation bot moved this to Needs: Triage in AVM - Module Issues Nov 29, 2024
Copy link

@KLuuKer, thanks for submitting this issue for the avm/res/container-service/managed-cluster module!

Important

A member of the @Azure/avm-res-containerservice-managedcluster-module-owners-bicep or @Azure/avm-res-containerservice-managedcluster-module-contributors-bicep team will review it soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Class: Resource Module 📦 This is a resource module Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue Type: Bug 🐛 Something isn't working
Projects
Status: Needs: Triage
Development

No branches or pull requests

2 participants