Skip to content

Commit edd6489

Browse files
committed
moving step to esan article
1 parent 26cd983 commit edd6489

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

articles/storage/container-storage/container-storage-aks-quickstart.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -141,23 +141,6 @@ az aks nodepool update --resource-group <resource group> --cluster-name <cluster
141141
> [!TIP]
142142
> You can verify that the node pool is correctly labeled by signing into the [Azure portal](https://portal.azure.com?azure-portal=true) and navigating to your AKS cluster. Go to **Settings > Node pools**, select your node pool, and under **Taints and labels** you should see `Labels: acstor.azure.com/io-engine:acstor`.
143143
144-
## Assign Contributor role to Azure Elastic SAN Preview subscription
145-
146-
This step is only needed if you intend to use Azure Elastic SAN Preview for data storage. If you plan to use Azure Disks or Ephemeral Disk for data storage instead, proceed to [Assign Contributor role to AKS managed identity](#assign-contributor-role-to-aks-managed-identity).
147-
148-
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.
149-
150-
1. Sign into the [Azure portal](https://portal.azure.com?azure-portal=true).
151-
1. Select **Subscriptions**, and locate and select the subscription associated with the Azure Elastic SAN Preview resource that you want to use.
152-
1. Select **Access control (IAM)** from the left pane.
153-
1. Select **Add > Add role assignment**.
154-
1. Under **Assignment type**, select **Privileged administrator roles** and then **Contributor**. If you don't have an Owner role on the subscription, you won't be able to add the Contributor role.
155-
1. Under **Assign access to**, select **Managed identity**.
156-
1. Under **Members**, click **+ Select members**. The **Select managed identities** menu will appear.
157-
1. Under **Managed identity**, select **User-assigned managed identity**.
158-
1. Under **Select**, search for and select the managed identity with your cluster name and `-agentpool` appended.
159-
1. Select **Review + assign**.
160-
161144
## Assign Contributor role to AKS managed identity
162145

163146
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.

articles/storage/container-storage/use-container-storage-with-elastic-san.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Configure Azure Container Storage Preview for use with Azure Elasti
44
author: khdownie
55
ms.service: storage
66
ms.topic: how-to
7-
ms.date: 05/12/2023
7+
ms.date: 05/15/2023
88
ms.author: kendownie
99
ms.subservice: container-storage
1010
---
@@ -66,7 +66,22 @@ First, create a storage pool, which is a logical grouping of storage for your Ku
6666
kubectl describe sp <storage-pool-name> -n acstor
6767
```
6868

69-
When the storage pool is created, Azure Container Storage will create a storage class on your behalf, using the naming convention `acstor-<storage-pool-name>`.
69+
When the storage pool is created, Azure Container Storage will create a storage class on your behalf using the naming convention `acstor-<storage-pool-name>`. It will also create an Azure Elastic SAN Preview resource.
70+
71+
## Assign Contributor role to AKS managed identity on Azure Elastic SAN Preview subscription
72+
73+
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.
74+
75+
1. Sign into the [Azure portal](https://portal.azure.com?azure-portal=true).
76+
1. Select **Subscriptions**, and locate and select the subscription associated with the Azure Elastic SAN Preview resource that Azure Container Storage created on your behalf. This will likely be the same subscription as the AKS cluster that Azure Container Storage is installed on. You can verify this by locating the Elastic SAN resource in the resource group that AKS created (`MC_YourResourceGroup_YourAKSClusterName_Region`).
77+
1. Select **Access control (IAM)** from the left pane.
78+
1. Select **Add > Add role assignment**.
79+
1. Under **Assignment type**, select **Privileged administrator roles** and then **Contributor**. If you don't have an Owner role on the subscription, you won't be able to add the Contributor role.
80+
1. Under **Assign access to**, select **Managed identity**.
81+
1. Under **Members**, click **+ Select members**. The **Select managed identities** menu will appear.
82+
1. Under **Managed identity**, select **User-assigned managed identity**.
83+
1. Under **Select**, search for and select the managed identity with your cluster name and `-agentpool` appended.
84+
1. Select **Review + assign**.
7085

7186
## Display the available storage classes
7287

0 commit comments

Comments
 (0)