Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cost-analysis] Add a note about cost-analysis-identity #174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions articles/aks/cost-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ az aks update --resource-group <resource-group> --name <cluster-name> --enable-c
> [!WARNING]
> The AKS cost analysis add-on Memory usage is dependent on the number of containers deployed. You can roughly approximate Memory consumption using *200 MB + 0.5 MB per container*. The current Memory limit is set to *4 GB*, which supports approximately *7000 containers per cluster*. These estimates are subject to change.

> [!NOTE]
> Enabling the cost analysis also creates a [managed identity](/entra/identity/managed-identities-azure-resources/overview) named `cost-analysis-identity` with read access to the cluster's node resource group, and assigns it to the node pools in the cluster.
> This is used to collect the ARM identifiers of cluster assets for reporting.
>
> Since there is already a managed identity for the node pool itself, any commands on the node that use managed identities will need to [specify the identity to use](/entra/identity/managed-identities-azure-resources/managed-identities-faq#what-identity-will-imds-default-to-if-i-dont-specify-the-identity-in-the-request) rather than relying on the default.
>
> For example, `az login --identity --resource-id <resource ID of identity>`.


## Disable cost analysis on your AKS cluster

Disable cost analysis using the [`az aks update`][az-aks-update] command with the `--disable-cost-analysis` flag.
Expand Down