-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] az aks
: Support IP-based Load Balancer and Instance Level Public IP Tags
#27910
Conversation
️✔️AzureCLI-FullTest
|
Hi @nilo19, |
❌AzureCLI-BreakingChangeTest
|
AKS |
az aks create --load-balancer-backend-pool-type
, `az …--load-balancer-backend-pool-type
, aks update --load-balancer-backend-pool-type
, az aks create --node-public-ip-tags
andaz aks nodepool add --node-public-ip-tags
--load-balancer-backend-pool-type
, aks update --load-balancer-backend-pool-type
, az aks create --node-public-ip-tags
andaz aks nodepool add --node-public-ip-tags
--load-balancer-backend-pool-type
, aks update --load-balancer-backend-pool-type
, az aks create --node-public-ip-tags
and az aks nodepool add --node-public-ip-tags
--load-balancer-backend-pool-type
, aks update --load-balancer-backend-pool-type
, az aks create --node-public-ip-tags
and az aks nodepool add --node-public-ip-tags
az aks create --load-balancer-backend-pool-type
, aks update --load-balancer-backend-pool-type
, az aks create --node-public-ip-tags
and az aks nodepool add --node-public-ip-tags
az aks create --load-balancer-backend-pool-type
, aks update --load-balancer-backend-pool-type
, az aks create --node-public-ip-tags
and az aks nodepool add --node-public-ip-tags
--load-balancer-backend-pool-type
, to az aks create
and az aks update
, add --node-public-ip-tags
to az aks create
and az aks nodepool add
`
--load-balancer-backend-pool-type
, to az aks create
and az aks update
, add --node-public-ip-tags
to az aks create
and az aks nodepool add
`--load-balancer-backend-pool-type
, to az aks create
and az aks update
, add --node-public-ip-tags
to az aks create
and az aks nodepool add
`
ed2e76e
to
3ff8f04
Compare
The PR title is a little messy, would you split it into several notes and put it under section |
--load-balancer-backend-pool-type
, to az aks create
and az aks update
, add --node-public-ip-tags
to az aks create
and az aks nodepool add
`
Changed. Would this be acceptable? |
please keep the formatting, taking
would be better |
done |
- name: --load-balancer-backend-pool-type | ||
type: string | ||
short-summary: Load balancer backend pool type. | ||
long-summary: Load balancer backend pool type, supported values are nodeIP and nodeIPConfiguration. |
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.
If the value of this parameter is enumerable, it is suggested to use arg_type=get_enum_type()
to define the param. After that, it is not necessary to manually specify the available options.
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.
Fixed, please take a look.
- name: --load-balancer-backend-pool-type | ||
type: string | ||
short-summary: Load balancer backend pool type. | ||
long-summary: Load balancer backend pool type, supported values are nodeIP and nodeIPConfiguration. |
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 same as above.
c.argument('load_balancer_backend_pool_type', arg_type=get_enum_type(backend_pool_types), | ||
validator=validate_load_balancer_backend_pool_type) |
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.
After defined with arg_type=get_enum_type(backend_pool_types)
, it is not necessary to validate the input manually.
c.argument('load_balancer_backend_pool_type', arg_type=get_enum_type(backend_pool_types), | |
validator=validate_load_balancer_backend_pool_type) | |
c.argument('load_balancer_backend_pool_type', arg_type=get_enum_type(backend_pool_types)) |
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.
removed
@FumingZhang can we get this merged? |
@jsntcy @kairu-ms @zhoxing-ms can we merge this today? |
Sorry, PRs cannot be merged during our release process. Once the release is complete, we would merge it. |
@yanzhudd when will the release process be done? |
It seems that approval from the core module owner is required. |
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
az aks
: Support IP-based Load Balancer and Instance Level Public IP Tags
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
@zhoxing-ms any other comments? |
…lic IP Tags (Azure#27910) * feat: support `az aks create --load-balancer-backend-pool-type`, `az aks update --load-balancer-backend-pool-type`, `az aks create --node-public-ip-tags` and `az aks nodepool add --node-public-ip-tags`. * chore: set arg type to enum for backend_pool_type * chore: remove backend pool type validator * Update src/azure-cli/azure/cli/command_modules/acs/_help.py Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com> * Update src/azure-cli/azure/cli/command_modules/acs/_help.py Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com> * Update src/azure-cli/azure/cli/command_modules/acs/_help.py Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com> --------- Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Related command
Description
Support the above commands. Ref: Azure/azure-cli-extensions#5536 and Azure/azure-cli-extensions#5355
Testing Guide
History Notes
[AKS]
az aks create/update
: Add new parameter--load-balancer-backend-pool-type
to define the Load Balancer backend pool type of managed inbound backend pool[AKS]
az aks create
: Add parameter--node-public-ip-tags
to specify the ipTags of the node public IPs[AKS]
az aks nodepool
: Add parameter--node-public-ip-tags
to specify the ipTags of the node public IPsThis 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.