-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
{AKS} Support reset default value for loadbalancer profile and natgateway profile #7230
Conversation
️✔️Azure CLI Extensions Breaking Change Test
|
Hi @MartinForReal, |
Hi @MartinForReal, |
AKS |
2f06694
to
f0d5411
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Queued live test to validate the change, test passed!
if self.context.get_nat_gateway_managed_outbound_ip_count() is not None: | ||
network_profile.nat_gateway_profile = create_nat_gateway_profile( | ||
self.context.get_nat_gateway_managed_outbound_ip_count(), | ||
self.context.get_nat_gateway_idle_timeout(), | ||
models=self.models.nat_gateway_models, | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this part can be omitted as it's part of the create process, even if setting it to 0 is ignored, the default value will be backfilled to 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default value is 1
85aa474
to
99eae71
Compare
Requeued live test
|
The test passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az aks update --load-balancer-outbound-ports 0
General Guidelines
related: #27071
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json
.