Skip to content

Commit c1c82e3

Browse files
authored
Merge pull request #192732 from andyzhangx/patch-42
Update azure-files-csi.md
2 parents fea29e3 + 3e1a300 commit c1c82e3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/aks/azure-files-csi.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Container Storage Interface (CSI) drivers for Azure Files on Azure Ku
33
description: Learn how to use the Container Storage Interface (CSI) drivers for Azure Files in an Azure Kubernetes Service (AKS) cluster.
44
services: container-service
55
ms.topic: article
6-
ms.date: 03/22/2021
6+
ms.date: 03/24/2021
77
author: palma21
88

99
---
@@ -112,6 +112,9 @@ storageclass.storage.k8s.io/my-azurefile created
112112

113113
The Azure Files CSI driver supports creating [snapshots of persistent volumes](https://kubernetes-csi.github.io/docs/snapshot-restore-feature.html) and the underlying file shares.
114114

115+
> [!NOTE]
116+
> This driver only supports snapshot creation, restore from snapshot is not supported by this driver, snapshot could be restored from Azure portal or CLI. To get the snapshot created, you can go to Azure Portal -> access the Storage Account -> File shares -> access the file share associated -> Snapshots. There you can click on it and restore.
117+
115118
Create a [volume snapshot class](https://github.com/kubernetes-sigs/azurefile-csi-driver/blob/master/deploy/example/snapshot/volumesnapshotclass-azurefile.yaml) with the [kubectl apply][kubectl-apply] command:
116119

117120
```console

articles/aks/azure-files-volume.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ You now have a running pod with an Azure Files share mounted at */mnt/azure*. Yo
111111

112112
## Mount file share as a persistent volume
113113
- Mount options
114-
> The default value for *fileMode* and *dirMode* is *0777* for Kubernetes version 1.15 and above.
114+
> The default value for *fileMode* and *dirMode* is *0777*.
115115

116116
```yaml
117117
apiVersion: v1
@@ -156,6 +156,7 @@ spec:
156156
accessModes:
157157
- ReadWriteMany
158158
storageClassName: ""
159+
volumeName: azurefile
159160
resources:
160161
requests:
161162
storage: 5Gi
@@ -195,10 +196,6 @@ kubectl delete pod mypod
195196
kubectl apply -f azure-files-pod.yaml
196197
```
197198

198-
## Using Azure tags
199-
200-
For more details on using Azure tags, see [Use Azure tags in Azure Kubernetes Service (AKS)][use-tags].
201-
202199
## Next steps
203200

204201
For Azure File CSI driver parameters, see [CSI driver parameters][CSI driver parameters].

0 commit comments

Comments
 (0)