Bug: AKS Construction does not pass necessary parameters for CNI Overlay networking
pjlewisuk opened this issue · 4 comments
Describe the bug
When you select "CNI Overlay Network" and "Custom Networking" on the "Networking Details" tab, you get to define your custom network configuration, including parameters for POD Network, Service Network and DNS Service IP under Kubernetes Networking Configuration. However, the Pod Network and Service Network parameters are not passed into the Deployment script generated by AKS Construction:
podCidr
is missing from the deployment command:
To Reproduce
Steps to reproduce the behavior:
- Go to AKS Construction homepage
- Navigate to "Networking Details"
- Check the "CNI Overlay Networking" box under "CNI Features"
- Select "Custom Networking" option under "Default or Custom VNET"
- Enter custom values for "VNET Address space", "AKS Nodes subnet", "POD Network", "Service Network", and "DNS Service IP"
- Navigate to the "Bash" or "PowerShell" tabs under "Deploy Cluster", and examine the output
- Note missing
podCidr
parameter (even thoughnetworkPluginMode=Overlay
is set)
Expected behavior
podCidr
parameter should get passed to the deployment command so that CNI Overlay networking is set up correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
If I add the podCidr
parameter to the az deployment
command prior to running it, with a "Default Networking" cluster configuration, it does not take effect, even though I can see it gets passed to the deployment. I presume this is because the custom_vnet
parameter is set to false
, and so it gets ignored?
If I add the podCidr
parameter when "Custom Networking" is used, I get the cluster configuration I expected: with nodes and pods running in separate subnets. I presume this is because custom_vnet
is set to true
.
Issue smells stale, no activity for 30 days. Stale Label will be removed if the issue is updated, otherwise closed in a month.
Bump to reopen