You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ms.custom: sap:Extensions, Policies and Add-Ons, references_regions
10
+
ms.custom: sap:Extensions, Policies and Add-Ons, references_regions, innovation-engine
11
11
---
12
12
13
13
# AKS Cost Analysis add-on issues
@@ -39,8 +39,13 @@ You can't enable the Cost Analysis add-on on a cluster in which the [Azure Disk
39
39
40
40
Run the [az aks update][aks-update] command, and specify the `--enable-disk-driver` parameter. This parameter enables the Azure Disk CSI driver in AKS.
41
41
42
+
First, define the environment variables for your resource group and AKS cluster, using unique values for repeated runs:
43
+
42
44
```azurecli
43
-
az aks update --resource-group <my-resource-group> --name <my-aks-cluster> --enable-disk-driver
az aks update --resource-group $RESOURCE_GROUP --name $AKS_CLUSTER --enable-managed-identity
58
66
```
59
67
60
68
For more information, see [Use a managed identity in AKS](/azure/aks/use-managed-identity).
@@ -78,11 +86,13 @@ You can't enable the Cost Analysis add-on on AKS clusters that are on the free p
78
86
79
87
### Solution: Update the cluster to use the Standard or Premium pricing tier
80
88
81
-
Upgrade the AKS cluster to the Standard or Premium pricing tier. To do this, run one of the following[az aks update][aks-update]commands that specify the `--tier` parameter:
89
+
Upgrade the AKS cluster to the Standard or Premium pricing tier. To do this, run the below[az aks update][aks-update]command that specify the `--tier` parameter. The `--tier` parameter can be set to either `standard` or `premium` (example below shows `standard`):
82
90
83
91
```azurecli
84
-
az aks update --resource-group <my-resource-group> --name <my-aks-cluster> --tier standard
85
-
az aks update --resource-group <my-resource-group> --name <my-aks-cluster> --tier premium
The current memory request of the cost-analysis-agent pod is set to 500 MB. Ensure that there's sufficient allocatable memory for the pod to be scheduled.
118
+
The current memory request of the cost-analysis-agent pod is set to 500 MB. Ensure that there's sufficient allocatable memory for the pod to be scheduled
109
119
110
120
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments