Skip to content

Conversation

@ganga1980
Copy link
Contributor

@ganga1980 ganga1980 commented Mar 16, 2022

Description

This PR introduces additional flag --enable-msi-auth-for-monitoring for customer to enable AKS monitoring addon with managed identity auth

Testing Guide

  • Enable monitoring addon with MSI auth for the new cluster
    az aks create -g <rgName> -n <clusterName> --enable-addons monitoring --enable-msi-auth-for-monitoring --generate-ssh-keys
  • Enable Monitoring addon with MSI auth for existing AKS cluster
    az aks enable-addons -a monitoring -g <rgName> -n <clusterName> --enable-msi-auth-for-monitoring

History 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 feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@ghost ghost assigned zhoxing-ms Mar 16, 2022
@ghost ghost added this to the Mar 2022 (2022-04-05) milestone Mar 16, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Mar 16, 2022
@ghost ghost requested a review from yonzhan March 16, 2022 05:40
@ghost ghost added the AKS az aks/acs/openshift label Mar 16, 2022
@ganga1980 ganga1980 changed the title [AKS] feature: aks monitoring managed identity auth [AKS] feature: Enable managed identity auth for aks monitoring addon Mar 16, 2022
@ganga1980 ganga1980 changed the title [AKS] feature: Enable managed identity auth for aks monitoring addon [AKS] feat: Enable managed identity auth for aks monitoring addon Mar 16, 2022
@ganga1980 ganga1980 changed the title [AKS] feat: Enable managed identity auth for aks monitoring addon [AKS] feat: Enable managed identity auth for aks monitoring addon Mar 16, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 16, 2022

AKS

@ganga1980
Copy link
Contributor Author

Hi, @andyliuliming , @jsntcy , @kairu-ms , can one of you please review this PR?

@zhoxing-ms zhoxing-ms changed the title [AKS] feat: Enable managed identity auth for aks monitoring addon [AKS] aks enable-addons: Add new parameter --enable-msi-auth-for-monitoring to support enabling managed identity auth Mar 23, 2022
@zhoxing-ms
Copy link
Contributor

@ganga1980 I modified the PR title, please see if it's description is accurate

@ganga1980
Copy link
Contributor Author

@ganga1980 I modified the PR title, please see if it's description is accurate

Yep, lgtm. thanks @zhoxing-ms

@wangzelin007
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ganga1980
Copy link
Contributor Author

Hi, @jsntcy , @kairu-ms , I would like to merge this PR to meet our release schedule, can you please review this PR? I have tested all the scenarios and this PR up to date.

@zhoxing-ms zhoxing-ms merged commit c6eb42a into Azure:dev Mar 25, 2022
# --------------------------------------------------------------------------------------------

import importlib
from tkinter import FALSE
Copy link
Member

@jiasli jiasli Mar 28, 2022

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:

https://dev.azure.com/azure-sdk/public/_build/results?buildId=1464021&view=logs&j=964b1a32-a564-5964-77b9-8017280f6c54&t=fd408678-da66-5f65-344b-e09411c080cb

==================================== 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'

image

Copy link
Contributor

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?

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS az aks/acs/openshift Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants