[AKS] az aks create/update az aks nodepool add: Add static egress gateway feature support#31285
[AKS] az aks create/update az aks nodepool add: Add static egress gateway feature support#31285
az aks create/update az aks nodepool add: Add static egress gateway feature support#31285Conversation
️✔️AzureCLI-FullTest
|
|
Hi @moreOver0, |
❌AzureCLI-BreakingChangeTest
Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
az aks create/update az aks nodepool add: add static egress gateway related changeaz aks create/update az aks nodepool add: add static egress gateway feature support
|
This PR depends on AKS api version v20250401 |
FumingZhang
left a comment
There was a problem hiding this comment.
Queued live test to validate the change.
- test_aks_and_agentpool_with_static_egress_gateway
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Please resolve these CI issues and conflicts |
|
updated milestone to https://github.com/Azure/azure-cli/milestone/157 |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 31285 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
current validation failure depends on dependency bump from |
bumping the SDK and default API version in #31649, while the PR is currently blocked by windows package build CI, cli team is investigating |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
FumingZhang
left a comment
There was a problem hiding this comment.
Queued live test to validate the change.
- test_aks_and_agentpool_with_static_egress_gateway
| @AKSCustomResourceGroupPreparer( | ||
| random_name_length=17, name_prefix="clitest", location="westus2" | ||
| ) | ||
| def test_aks_and_agentpool_with_static_egress_gateway( |
There was a problem hiding this comment.
Please commit the corresponding recording file to pass the CI checks. You could generate one by running the test in live mode.
az aks create/update az aks nodepool add: add static egress gateway feature supportaz aks create/update az aks nodepool add: Add static egress gateway feature support
|
@FumingZhang Could you please review this PR in a timely manner? Please note that Azure CLI will have a code freeze on 06/24/2025 07:00 UTC for the upcoming release. If you want to catch this release train, please resolve the CI issue ASAP, otherwise it has to be postponed to next sprint (08-05). |
Related command
az aks create/update
az aks nodepool add
Description
Add static egress gateway related change from preview. Adding flags & validation to below commands
Azure CLI extension PR: Azure/azure-cli-extensions#7527
Testing Guide
az aks create <CLUSTER_NAME> --enable-static-egress-gateway
az aks update <CLUSTER_NAME> --enable-static-egress-gateway
az aks update <CLUSTER_NAME> --disable-static-egress-gateway
az aks nodepool add <NODEPOOL_NAME> --mode Gateway --gateway-prefix-size 31
History Notes
[AKS]
az aks create: Add--enable-static-egress-gatewayparameter to support static egress gateway feature[AKS]
az aks update: Add--enable-static-egress-gatewayparameter to support static egress gateway feature[AKS]
az aks nodepool add: Add optionGatewayto--modeparameter and--gateway-prefix-sizeparameter to support static egress gateway featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.