[AKS] az aks create/update: Add support for feature Advanced Container Networking Services#30208
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @snguyen64, |
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| aks create | cmd aks create added parameter disable_acns_observability |
||
| aks create | cmd aks create added parameter disable_acns_security |
||
| aks create | cmd aks create added parameter enable_acns |
||
| aks update | cmd aks update added parameter disable_acns_observability |
||
| aks update | cmd aks update added parameter disable_acns_security |
||
| aks update | cmd aks update added parameter disable_acns |
||
| aks update | cmd aks update added parameter enable_acns |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
18f6249 to
a5592e4
Compare
address pr comments, remove redundant commands, add more tests, raise mutual exclusion errors for acns cases update test ctx convert one test to non cilium for enable acns update help msg update style update managed_cluster_decorator for acns and tests
a5592e4 to
0b2d527
Compare
FumingZhang
left a comment
There was a problem hiding this comment.
Please fix lint errors
/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:5775:48: E225 missing whitespace around operator
/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:7384:1: W293 blank line contains whitespace
/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:7387:1: W293 blank line contains whitespace
/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:7404:51: E225 missing whitespace around operator
may bypass this check by updating src/azure-cli/azure/cli/command_modules/acs/linter_exclusions.yml
- FAIL - HIGH severity: option_length_too_long
Parameter: aks create,disable_acns_observability- The lengths of all options ['--disable-acns-observability'] are longer than threshold 22. Argument disable_acns_observability must have a short abbreviation.
Parameter: aks update,disable_acns_observability- The lengths of all options ['--disable-acns-observability'] are longer than threshold 22. Argument disable_acns_observability must have a short abbreviation.
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Requeued live test, test passed!
|
|
please list the changelog in the History Notes section with impacted commands/parameters, e.g., [AKS] |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
az aks create/update: Add support for feature Advanced Container Networking Services
updated history and pr title. |
I tweaked the changelog a bit |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
It looks good to me. |
|
@yanzhudd We needed this PR for GA feature which for announced in Ignite, can i know why this did not get into Nov 19th CLI 2.67 version ? And is there a possibility to get a minor release done with this PR ? |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
…ner Networking Services (Azure#30208)
Related command
az aks create --enable-acns
az aks create --enable-acns --disable-acns-observability
az aks create --enable-acns --disable-acns-security
az aks update --enable-acns
az aks update --disable-acns
az aks update --enable-acns --disable-acns-observability
az aks update --enable-acns --disable-acns-security
Description
This PR adds commands to aks create and update to enable and disable ACNS and ACNS features for observability and security.
Testing Guide
--enable-acns will enable ACNS with all sub features (observability and security), except on non-cilium dataplane where security is disabled by default until security features are supported. This will have optional flags to enable and disable ACNS related features.
--disable-acns will disable all ACNS features on a cluster.
History Notes
[AKS]
az aks create/update: Add--enable-acnsparameter to support enabling advanced networking functionalities on a cluster[AKS]
az aks create/update: Add--disable-acns-observabilityparameter to disable advanced networking observability features when enabling advanced networking features with--enable-acns[AKS]
az aks create/update: Add--disable-acns-securityparameter to disable advanced networking security features when enabling advanced networking features with--enable-acns[AKS]
az aks update: Add--disable-acnsparameter to support disabling advanced networking functionalities on a clusterThis 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.