Closed jaywithersbrewin closed 5 months ago
Thanks for raising this issue @jaywithersbrewin.
Looking over the MSFT documentation, in order to configure Prometheus metrics on an AKS cluster the Azure Monitor Workspace (which creates the MA_* resource group, as well as the DCE and DCR) needs to be created beforehand. The Rest API does not handle the automatic creation of it just from enabling it.
For guidance on how to setup Prometheus logging on your cluster the MSFT docs have a great guide with example Terraform modules.
I'm going to close this issue since there aren't any changes we can make to the resource for this. The linked guide should provide clarity on how to setup Prometheus logging and for any further configuration questions the Community Discuss forum is a good place to look through.
Thanks, @stephybun
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.8
AzureRM Provider Version
3.74.0
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
MA_mon-lz-npd-weu-aks_westeurope_managed resource group created with Data Collection Endpoint (DCE) and Data Collection Rule (DCR) which are fully configured.
Actual Behaviour
The DCE and DCR don't have resources configured.
Steps to Reproduce
No response
Important Factoids
No response
References
No response