Skip to content

Commit c03b822

Browse files
Merge pull request #311662 from eh8/main
Add ESAN permission info and fix fio example
2 parents 6d87fbf + 01f4768 commit c03b822

2 files changed

Lines changed: 18 additions & 7 deletions

File tree

articles/storage/container-storage/enable-multi-zone-redundancy.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ az provider register --namespace Microsoft.ElasticSan
2828
```
2929
- When ZRS is newly enabled in a region, you might need to register a subscription-level feature flag so Azure Container Storage can deploy SAN targets:
3030
```azurecli
31-
Register-AzProviderFeature -FeatureName EnableElasticSANTargetDeployment -ProviderNamespace Microsoft.ElasticSan
31+
az feature register \
32+
--namespace Microsoft.ElasticSan \
33+
--name EnableElasticSANTargetDeployment
3234
```
3335
- Verify that the region supports your chosen redundancy option. See the current [Elastic SAN region availability](../elastic-san/elastic-san-create.md#).
3436

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ Azure Elastic SAN is a managed, shared block-storage service that provides a cen
2727

2828
[!INCLUDE [container-storage-prerequisites](../../../includes/container-storage-prerequisites.md)]
2929
- [Review the installation instructions](install-container-storage-aks.md) and ensure Azure Container Storage is properly installed.
30+
- If you use Elastic SAN for the first time in the subscription, run this one-time registration command:
31+
```azurecli-interactive
32+
az provider register --namespace Microsoft.ElasticSan
33+
```
34+
- Assign the **Azure Container Storage Operator** role to the `*-agentpool` managed identity in the AKS node resource group. In the Azure portal, open the node resource group (for example, *MC_myResourceGroup_myAKSCluster_eastus*), go to **Access Control (IAM) > Add > Add role assignment**, select **Azure Container Storage Operator**, and assign it to the managed identity created by the cluster (typically named *myAKSCluster-agentpool*).
35+
- When [ZRS is newly enabled](enable-multi-zone-redundancy.md) in a region, you might need to register a subscription-level feature flag so Azure Container Storage can deploy SAN targets:
36+
```azurecli
37+
az feature register \
38+
--namespace Microsoft.ElasticSan \
39+
--name EnableElasticSANTargetDeployment
40+
```
3041

3142
## Limitations
3243

@@ -275,13 +286,11 @@ Create a pod using Flexible I/O Tester (fio) for benchmarking and workload simul
275286
name: fiopod
276287
spec:
277288
containers:
278-
- image: nixery.dev/shell/fio
279-
name: fio
280-
ports:
281-
- containerPort: 80
282-
protocol: TCP
289+
- name: fio
290+
image: mayadata/fio
291+
args: ["sleep", "1000000"]
283292
volumeMounts:
284-
- mountPath: /volume
293+
- mountPath: "/volume"
285294
name: iscsi-volume
286295
volumes:
287296
- name: iscsi-volume

0 commit comments

Comments
 (0)