-
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] Add option Windows2019
, Windows2022
to --os-sku
for az aks nodepool add
#4549
Conversation
aks |
--os-sku
supports Windows2019 and Windows2022
--os-sku
supports Windows2019 and Windows2022Windows2019
, Windows2022
to --os-sku
for az aks nodepool add
Any update on this? |
Hi @PixelRobots. |
Looks like it has been merged :) excited to try this feature. |
Hi @PixelRobots , We are also pending SDK updating, and the timeline is 2022/05/07. I will reactive this PR in 2022/05/07. Thank you. |
cb368bb
to
52cf450
Compare
@AbelHu @FumingZhang Could you help to review it? Thank you. |
@@ -1040,7 +1040,7 @@ | |||
short-summary: The OS Type. Linux or Windows. | |||
- name: --os-sku | |||
type: string | |||
short-summary: The os-sku of the agent node pool. Ubuntu or CBLMariner. | |||
short-summary: The os-sku of the agent node pool. Ubuntu or CBLMariner when os-type is Linux, default is Ubuntu if not set; Windows2019 or Windows2022 when os-type is Windows, default is Windows2019 if not set. |
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.
@ShiqianTao Does cli code set the default value for Windows? If it is set by rp, we may change the default value in future so we need to mention it in the description.
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.
Yes, AKS-RP controls the default value. Updated the description.
@@ -14,7 +14,8 @@ | |||
"test_aks_create_with_monitoring_aad_auth_msi", | |||
"test_aks_create_with_monitoring_aad_auth_uai", | |||
"test_aks_enable_monitoring_with_aad_auth_msi", | |||
"test_aks_enable_monitoring_with_aad_auth_uai" | |||
"test_aks_enable_monitoring_with_aad_auth_uai", | |||
"test_aks_nodepool_add_with_ossku_windows2022" |
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.
I suppose this feature won't be added to azure-cli until GA, and the feature would also be removed when it's ready. So, I guess no need for this?
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.
Yes, removed it.
def get_nodepool_ossku_completion_list(cmd, prefix, namespace, **kwargs): # pylint: disable=unused-argument | ||
"""Return the list of allowed os-sku values when add nodepool""" | ||
|
||
return ["Ubuntu", "CBLMariner", "Windows2019", "Windows2022"] |
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.
It would be nice if you could replace these strings with the consts. Also the ones in get_cluster_ossku_completion_list.
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.
Good guidance. Updated.
@@ -13,7 +13,11 @@ Pending | |||
+++++++ | |||
* Update to use 2022-04-02-preview api version. | |||
|
|||
0.5.67 (NOT RELEASED) | |||
0.5.68 |
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.
Li ma added a feature about api and released 0.5.57, need to resolve the conflicts here.
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.
Yes. Updated.
7f0ffd9
to
05ac536
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:shipit:
Wait for previous release PR #4805. |
@zhoxing-ms Could you help to review and merge this PR? Thank you. |
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update
src/index.json
automatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json
.