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
Copy file name to clipboardExpand all lines: articles/storage/container-storage/container-storage-aks-quickstart.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to install and configure Azure Container Storage Preview
4
4
author: khdownie
5
5
ms.service: storage
6
6
ms.topic: quickstart
7
-
ms.date: 05/15/2023
7
+
ms.date: 05/30/2023
8
8
ms.author: kendownie
9
9
ms.subservice: container-storage
10
10
---
@@ -143,7 +143,9 @@ az aks nodepool update --resource-group <resource group> --cluster-name <cluster
143
143
144
144
## Assign Contributor role to AKS managed identity
145
145
146
-
Azure Container Service is a separate service from AKS, so you'll need to grant permissions to allow Azure Container Storage to provision storage for your cluster. Specifically, you must assign the [Contributor](../../role-based-access-control/built-in-roles.md#contributor) Azure RBAC built-in role to the AKS managed identity. You'll need an [Owner](../../role-based-access-control/built-in-roles.md#owner) role for your Azure subscription in order to do this. If you don't have sufficient permissions, ask your admin to perform these steps.
146
+
Azure Container Service is a separate service from AKS, so you'll need to grant permissions to allow Azure Container Storage to provision storage for your cluster. Specifically, you must assign the [Contributor](../../role-based-access-control/built-in-roles.md#contributor) Azure RBAC built-in role to the AKS managed identity. You can do this using the Azure portal or Azure CLI. You'll need an [Owner](../../role-based-access-control/built-in-roles.md#owner) role for your Azure subscription in order to do this. If you don't have sufficient permissions, ask your admin to perform these steps.
147
+
148
+
# [Azure portal](#tab/portal)
147
149
148
150
1. Sign into the [Azure portal](https://portal.azure.com?azure-portal=true), and search for and select **Kubernetes services**.
149
151
1. Locate and select your AKS cluster. Select **Settings** > **Properties** from the left navigation.
@@ -157,15 +159,17 @@ Azure Container Service is a separate service from AKS, so you'll need to grant
157
159
1. Under **Select**, search for and select the managed identity with your cluster name and `-agentpool` appended.
158
160
1. Select **Review + assign**.
159
161
160
-
Run the following command to assign Contributor role to AKS managed identity. Remember to replace `<resource-group>` and `<cluster-name>` with your own values.
162
+
# [Azure CLI](#tab/cli)
163
+
164
+
Run the following commands to assign Contributor role to AKS managed identity. Remember to replace `<resource-group>` and `<cluster-name>` with your own values.
161
165
162
166
```azurecli-interactive
163
167
export AKS_MI_OBJECT_ID=$(az aks show --name <cluster-name> --resource-group <resource-group> --query "identityProfile.kubeletidentity.objectId" -o tsv)
164
168
export AKS_NODE_RG=$(az aks show --name <cluster-name> --resource-group <resource-group> --query "nodeResourceGroup" -o tsv)
165
-
166
169
az role assignment create --assignee $AKS_MI_OBJECT_ID --role "Contributor" --resource-group "$AKS_NODE_RG"
167
170
```
168
-
171
+
---
172
+
169
173
## Install Azure Container Storage
170
174
171
175
The initial install uses Azure Arc CLI commands to download a new extension. Replace `<cluster-name>` and `<resource-group>` with your own values. The `<name>` value can be whatever you want; it's just a label for the extension you're installing.
0 commit comments