-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[AKS] aks enable-addons: Add new parameter --enable-msi-auth-for-monitoring to support enabling managed identity auth
#21661
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
Conversation
|
AKS |
|
Hi, @andyliuliming , @jsntcy , @kairu-ms , can one of you please review this PR? |
aks enable-addons: Add new parameter --enable-msi-auth-for-monitoring to support enabling managed identity auth
|
@ganga1980 I modified the PR title, please see if it's description is accurate |
|
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| import importlib | ||
| from tkinter import FALSE |
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 line breaks CI and it is never used:
==================================== ERRORS ====================================
_______________ ERROR collecting tests/latest/test_decorator.py ________________
ImportError while importing test module '/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/tests/latest/test_decorator.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.6/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/tests/latest/test_decorator.py:7: in <module>
from tkinter import FALSE
E ModuleNotFoundError: No module named 'tkinter'
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.
@ganga1980 May I ask why this unused import was added 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.
@ganga1980 May I ask why this unused import was added here?
@zhoxing-ms , Not sure why this got added automatically. please go-ahead and remove this unused import.

Description
This PR introduces additional flag --enable-msi-auth-for-monitoring for customer to enable AKS monitoring addon with managed identity auth
Testing Guide
az aks create -g
<rgName>-n<clusterName>--enable-addons monitoring --enable-msi-auth-for-monitoring --generate-ssh-keysaz aks enable-addons -a monitoring -g
<rgName>-n<clusterName>--enable-msi-auth-for-monitoringHistory Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis 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.