Azure Cloud Integration using Azure Workload Identity
Kubecost supports cloud integration via Azure Workload Identity. Refer to the Microsoft documentation to learn more about how to set up Azure Workload Identity in AKS.
For this tutorial, you will need the cluster name, resource group, federated identity credential name, and the Managed Identity Object ID.
Tutorial
Validate that OIDC is enabled on the Azure cluster.
Assign the Storage Blob Data Contibutor Role to the Managed Identity and scope it to the storage blob container resource that has the cost export. See this example:
Create the federated credential between the Managed Identity and kubecost-cost-analyzer service account:
Create a JSON file which must be named cloud-integration.json with the following format:
Create the secret.
Update the Helm values.yaml with the following and apply changes:
Last updated