Skip to content

Commit eecadab

Browse files
authored
Update azure-files-volume.md
1 parent b9ddf53 commit eecadab

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

articles/aks/azure-files-volume.md

Lines changed: 4 additions & 6 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: 04/1/2022
7+
ms.date: 05/09/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.
@@ -19,9 +19,9 @@ For more information on Kubernetes volumes, see [Storage options for application
1919

2020
## Before you begin
2121

22-
This article assumes that you have an existing AKS cluster. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli], [using Azure PowerShell][aks-quickstart-powershell], or [using the Azure portal][aks-quickstart-portal].
22+
This article assumes that you have an existing AKS cluster with version 1.21 or later. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli], [using Azure PowerShell][aks-quickstart-powershell], or [using the Azure portal][aks-quickstart-portal].
2323

24-
You also need the Azure CLI version 2.0.59 or later installed and configured. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
24+
If you want to interact with Azure Files on an AKS cluster with version 1.20 or below, see the [Kubernetes plugin for Azure Files][kubernetes-files].
2525

2626
## Create an Azure file share
2727

@@ -68,7 +68,7 @@ kubectl create secret generic azure-secret --from-literal=azurestorageaccountnam
6868

6969
## Mount file share as an inline volume
7070
> [!NOTE]
71-
> Inline `azureFile` volume can only access secrets in the same namespace as the pod. To specify a different secret namespace, [please use the persistent volume example][persistent-volume-example] below instead.
71+
> Inline volume can only access secrets in the same namespace as the pod. To specify a different secret namespace, [please use the persistent volume example][persistent-volume-example] below instead.
7272
7373
To mount the Azure Files share into your pod, configure the volume in the container spec. Create a new file named `azure-files-pod.yaml` with the following contents. If you changed the name of the Files share or secret name, update the *shareName* and *secretName*. If desired, update the `mountPath`, which is the path where the Files share is mounted in the pod. For Windows Server containers, specify a *mountPath* using the Windows path convention, such as *'D:'*.
7474

@@ -201,8 +201,6 @@ kubectl apply -f azure-files-pod.yaml
201201

202202
For Azure File CSI driver parameters, see [CSI driver parameters][CSI driver parameters].
203203

204-
For information about AKS 1.20 or below clusters interact with Azure Files, see the [Kubernetes plugin for Azure Files][kubernetes-files].
205-
206204
For associated best practices, see [Best practices for storage and backups in AKS][operator-best-practices-storage].
207205

208206
<!-- LINKS - external -->

0 commit comments

Comments
 (0)