enable aks container insights with --ampls-resource-id - must be a private cluster #30918
Labels
AKS
az aks/acs/openshift
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Service Attention
This issue is responsible by Azure service team.
Describe the bug
Why must the AKS Cluster be private when --ampls-resource-id is included as a flag in enabling the container insights addon?
Related command
az aks enable-addons --addon monitoring --name <cluster-name> --resource-group <cluster-resource-group-name> --workspace-resource-id <workspace-resource-id> --ampls-resource-id "<azure-monitor-private-link-scope-resource-id>"
Errors
--ampls-resource-id can only be used with private cluster in MSI mode.
Issue script & Debug output
Expected behavior
Create the backing DCE/DCR to connect the ama pods to the ampls to send container insights data to log analytics.
The cluster is not private in this scenario, but unclear why that would be a requirement.
Environment Summary
`
azure-cli 2.69.0
core 2.69.0
telemetry 1.1.0
Extensions:
ai-examples 0.2.5
ml 2.34.0
ssh 2.0.6
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
`
Additional context
The cluster is using a User-Assigned Managed Identity
The cluster is not private - want to understand why that would be a requirement
The text was updated successfully, but these errors were encountered: