Skip to content

Commit 1aeb3a1

Browse files
Merge pull request #221122 from andyzhangx/patch-59
Update azure-files-volume.md
2 parents 7880260 + cefebca commit 1aeb3a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/aks/azure-files-volume.md

Lines changed: 3 additions & 1 deletion
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: 05/09/2022
7+
ms.date: 12/12/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.
@@ -113,6 +113,8 @@ kubectl apply -f azure-files-pod.yaml
113113
You now have a running pod with an Azure Files share mounted at */mnt/azure*. You can use `kubectl describe pod mypod` to verify the share is mounted successfully.
114114

115115
## Mount file share as a persistent volume
116+
> [!NOTE]
117+
> For SMB mount, if `nodeStageSecretRef` field is not provided in PV config, azure file driver would try to get `azure-storage-account-{accountname}-secret` in the pod namespace, if that secret does not exist, it would get account key by Azure storage account API directly using kubelet identity (make sure kubelet identity has reader access to the storage account).
116118
- Mount options
117119
> The default value for *fileMode* and *dirMode* is *0777*.
118120

0 commit comments

Comments
 (0)