You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
1 node should be allowed when set the prefix with /31. But it says, "1 node is not allowed because it exceeds the max number 2".
To Reproduce
Steps to reproduce the behavior:
az extension add -n aks-preview
# Basic parameter
ranNum=$(echo $RANDOM)
rG=aks-staticegressgw-${ranNum}
aks=aks-staticegressgw-${ranNum}
location=southeastasia
k8sVer=1.31
az group create -n ${rG} -l ${location} -o none
# Create AKS
az aks create -n ${aks} -g ${rG} \
--no-ssh-key \
--nodepool-name agentpool \
--node-os-upgrade-channel None \
--node-count 1 --kubernetes-version ${k8sVer} \
--node-vm-size Standard_A4_v2 \
--network-plugin azure \
--enable-static-egress-gateway
# Bug: Create a Gateway Node pool
az aks nodepool add --cluster-name ${aks} -g ${rG} -n gatewaypool \
--mode gateway --node-count 1 --gateway-prefix-size 31
Output:
(StaticEgressGatewayInvalidGatewayNodeCount) Gateway agentpool gatewaypool is configured with invalid node count 1, exceeding max node count 2 according to public IPPrefix size /31 or fewer than 2.
Code: StaticEgressGatewayInvalidGatewayNodeCount
Message: Gateway agentpool gatewaypool is configured with invalid node count 1, exceeding max node count 2 according to public IPPrefix size /31 or fewer than 2.
Expected behavior
1 node should be allowed when setting gateway prefix with 31.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Describe the bug
1 node should be allowed when set the prefix with
/31
. But it says, "1 node is not allowed because it exceeds the max number 2".To Reproduce
Steps to reproduce the behavior:
Output:
Expected behavior
1 node should be allowed when setting gateway prefix with
31
.Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: