Hello Ivica,
It seems you’re experiencing issues with displaying AKS Cost Analysis data even after enabling it via the CLI. This can sometimes happen due to configuration requirements or other dependencies. I suggest the following possible solutions:
- Data Processing Time: Wait up to 24 hours, as it can take some time for data to populate after enabling the feature.
- Cluster Tier: Ensure your AKS cluster is in the Standard or Premium tier, as the Cost Analysis add-on doesn’t support the Free tier.
- Azure Disk CSI Driver: Make sure the Azure Disk Container Storage Interface (CSI) driver is enabled.
az aks update --resource-group <your-resource-group> --name <your-aks-cluster> --enable-disk-driver
- Managed Identity: Confirm that a managed identity (system or user-assigned) is enabled on your cluster.
az aks update --resource-group <your-resource-group> --name <your-aks-cluster> --enable-managed-identity
- Region and Offer Type: Verify that your region supports Cost Analysis and that your subscription aligns with Enterprise Agreement or Microsoft Customer Agreement offers.
- Access Permissions: Ensure you have the necessary role, such as Owner, Contributor, or Cost Management Contributor, on the subscription to view cost data.
References:
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
Regards,
Luis