[AKS] az aks create/update: Update recording rule group create logic for managed prometheus addon#30857
[AKS] az aks create/update: Update recording rule group create logic for managed prometheus addon#30857
az aks create/update: Update recording rule group create logic for managed prometheus addon#30857Conversation
…c for managed prometheus addon
️✔️AzureCLI-FullTest
|
|
Hi @bragi92, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
Ran live_test successfully with
|
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
az aks create/update: Update recording rule group create logic for managed prometheus addon
az aks create/update: Update recording rule group create logic for managed prometheus addonaz aks create/update : Update recording rule group create logic for managed prometheus addon
|
Fixed formatting issue in PR title. |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 30857 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
lgtm
Queued live test to validate the change, test passed!
- test_aks_create_with_azuremonitormetrics
- test_aks_update_with_azuremonitormetrics
|
Please fix CI issues |
|
need to remove the extra space before colon |
az aks create/update : Update recording rule group create logic for managed prometheus addonaz aks create/update: Update recording rule group create logic for managed prometheus addon
|
Updated to remove extra space. @FumingZhang Can you help run the PR build again? |
|
@bragi92 I don't have the permission to queue the CI. BTW, seems the code complete has passed. In this case, you'll need to wait for another few days for cli team to merge your change. |
|
@yanzhudd Can you please help with re-running the test as I've updated the title and with the PR merge if it looks good to you. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az aks create -n kaveeshcli22 -g kaveeshcli --location westeurope --enable-azure-monitor-metrics --azure-monitor-workspace-resource-id "{full_id}" --grafana-resource-id "{full_id}"az aks create -n kaveeshcli22 -g kaveeshcli --disable-azure-monitor-metricsDescription
The recording rules manifest has been updated in TiP and will soon be deployed to production which will include other alerts rule recommendations. I'm updating the CLI code to filter down to the rule groups that the managed prometheus needs for onboarding in this PR.
Testing Guide
Scenario 1 : Region where TiP manifest is available
az aks create -n kaveeshcli22 -g kaveeshcli --location westcentralus --enable-azure-monitor-metrics"and it should result in a success. (Currently the change is only deployed to westcentralus)Scenario 2 : Region where TiP manifest is not available
az aks create -n kaveeshcli22 -g kaveeshcli --location westeurope --enable-azure-monitor-metrics"and it should result in a success.This 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.