-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[AKS] add tag for nodepool #12145
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
Merged
Merged
[AKS] add tag for nodepool #12145
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1ef7791
add tag for nodepool
zqingqing1 385ca30
resolve conflict
zqingqing1 531059a
test added
zqingqing1 3680db8
Merge branch 'master' of https://github.com/Azure/azure-cli into add-…
zqingqing1 a4fc4a7
Merge branch 'dev' of https://github.com/Azure/azure-cli into add-vms…
zqingqing1 f224801
fix test
zqingqing1 f640905
strong response check
zqingqing1 0afc8e5
fix version again
zqingqing1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think you can use
tags_typedirectly and overwrite thehelp=message.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.
No, I tried to use tags_type, it won't work. Since the validator for tags_type, will read ns.tags, not ns.nodepool_tags, so I re-write a new function in our owned subfolder.
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.
@myronfanqiu please help to merge if no other concerns or questions :)
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.
@myronfanqiu When I run test, it failed with error, can you shed light on how to fix it?
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.
@zqingqing1 Hi. You should run it with
--livelikeazdev test acs --live. Could you please a single test for this new feature?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.
Surely, will add it.
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.
when I test it locally, it passed, but https://dev.azure.com/azure-sdk/public/_build/results?buildId=261822&view=logs&j=ef7e37da-9721-5d17-b890-4759c548b596&t=ce7f2a4a-7f31-5156-db1b-13049c09b684&l=7799 test failed with "Can't overwrite existing cassette". How gonna we fix it?
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 API version is not consistent. Do you need to bump api-version? Looks like you install the package locally.
Uh oh!
There was an error while loading. Please reload this page.
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.
You are right, aks-preview are using new api-version. I was testing with this cli extension, after removal, test should pass.
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.
test passed, please help to merge this PR. Appreciated.