Skip to content

Commit 4eb957b

Browse files
Merge pull request #222382 from andyzhangx/patch-60
Update azure-files-volume.md
2 parents b4bc0f2 + 42c03fc commit 4eb957b

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

articles/aks/azure-blob-csi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Container Storage Interface (CSI) driver for Azure Blob storage on Az
33
description: Learn how to use the Container Storage Interface (CSI) driver for Azure Blob storage in an Azure Kubernetes Service (AKS) cluster.
44
services: container-service
55
ms.topic: article
6-
ms.date: 11/30/2022
6+
ms.date: 12/27/2022
77
author: mgoedtel
88

99
---
@@ -23,7 +23,7 @@ Mounting Azure Blob storage as a file system into a container or pod, enables yo
2323
The data on the object storage can be accessed by applications using BlobFuse or Network File System (NFS) 3.0 protocol. Before the introduction of the Azure Blob storage CSI driver, the only option was to manually install an unsupported driver to access Blob storage from your application running on AKS. When the Azure Blob storage CSI driver is enabled on AKS, there are two built-in storage classes: *azureblob-fuse-premium* and *azureblob-nfs-premium*.
2424

2525
> [!NOTE]
26-
> Azure Blob CSI driver only supports NFS 3.0 protocol for Kubernetes versions 1.25 (preview) on AKS.
26+
> Azure Blob CSI driver only supports NFS 3.0 protocol for Kubernetes versions 1.25 on AKS.
2727
2828
To create an AKS cluster with CSI drivers support, see [CSI drivers on AKS][csi-drivers-aks]. To learn more about the differences in access between each of the Azure storage types using the NFS protocol, see [Compare access to Azure Files, Blob Storage, and Azure NetApp Files with NFS][compare-access-with-nfs].
2929

articles/aks/azure-csi-blob-storage-static.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure Kubernetes Service
44
description: Learn how to create a static persistent volume with Azure Blob storage for use with multiple concurrent pods in Azure Kubernetes Service (AKS)
55
services: container-service
66
ms.topic: article
7-
ms.date: 07/21/2022
7+
ms.date: 12/27/2022
88

99
---
1010

@@ -22,12 +22,13 @@ For more information on Kubernetes volumes, see [Storage options for application
2222

2323
- If you don't have a storage account that supports the NFS v3 protocol, review [NFS v3 support with Azure Blob storage][azure-blob-storage-nfs-support].
2424

25-
- [Enable the Blob storage CSI driver][enable-blob-csi-driver] (preview) on your AKS cluster.
25+
- [Enable the Blob storage CSI driver][enable-blob-csi-driver] on your AKS cluster.
2626

2727
## Static provisioning parameters
2828

2929
|Name | Description | Example | Mandatory | Default value|
3030
|--- | --- | --- | --- | ---|
31+
|volumeHandle | Specify a value the driver can use to uniquely identify the storage blob container in the cluster. | A recommended way to produce a unique value is to combine the globally unique storage account name and container name: {account-name}_{container-name}. Note: The # character is reserved for internal use and can't be used in a volume handle. | Yes ||
3132
|volumeAttributes.resourceGroup | Specify Azure resource group name. | myResourceGroup | No | If empty, driver will use the same resource group name as current cluster.|
3233
|volumeAttributes.storageAccount | Specify existing Azure storage account name. | storageAccountName | Yes ||
3334
|volumeAttributes.containerName | Specify existing container name. | container | Yes ||
@@ -98,8 +99,8 @@ The following example demonstrates how to mount a Blob storage container as a pe
9899
csi:
99100
driver: blob.csi.azure.com
100101
readOnly: false
101-
# make sure this volumeid is unique in the cluster
102-
# `#` is not allowed in self defined volumeHandle
102+
# make sure volumeid is unique for every identical storage blob container in the cluster
103+
# character `#` is reserved for internal use and cannot be used in volumehandle
103104
volumeHandle: unique-volumeid
104105
volumeAttributes:
105106
resourceGroup: resourceGroupName
@@ -182,8 +183,8 @@ Kubernetes needs credentials to access the Blob storage container created earlie
182183
csi:
183184
driver: blob.csi.azure.com
184185
readOnly: false
185-
# make sure this volumeid is unique in the cluster
186-
# `#` is not allowed in self defined volumeHandle
186+
# make sure volumeid is unique for every identical storage blob container in the cluster
187+
# character `#` is reserved for internal use and cannot be used in volumehandle
187188
volumeHandle: unique-volumeid
188189
volumeAttributes:
189190
containerName: containerName

articles/aks/azure-files-volume.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure Kubernetes Service
44
description: Learn how to manually create a volume with Azure Files for use with multiple concurrent pods in Azure Kubernetes Service (AKS)
55
services: container-service
66
ms.topic: article
7-
ms.date: 12/12/2022
7+
ms.date: 12/26/2022
88

99

1010
#Customer intent: As a developer, I want to learn how to manually create and attach storage using Azure Files to a pod in AKS.
@@ -101,7 +101,7 @@ spec:
101101
volumeAttributes:
102102
secretName: azure-secret # required
103103
shareName: aksshare # required
104-
mountOptions: "dir_mode=0777,file_mode=0777,cache=strict,actimeo=30" # optional
104+
mountOptions: "dir_mode=0777,file_mode=0777,cache=strict,actimeo=30,nosharesock" # optional
105105
```
106106
107107
Use the `kubectl` command to create the pod.
@@ -133,7 +133,7 @@ spec:
133133
csi:
134134
driver: file.csi.azure.com
135135
readOnly: false
136-
volumeHandle: unique-volumeid # make sure this volumeid is unique in the cluster
136+
volumeHandle: unique-volumeid # make sure volumeid is unique for every identical share in the cluster
137137
volumeAttributes:
138138
resourceGroup: EXISTING_RESOURCE_GROUP_NAME # optional, only set this when storage account is not in the same resource group as agent node
139139
shareName: aksshare

0 commit comments

Comments
 (0)