Skip to content

Commit 6c41020

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into retireedgio1
2 parents e60d146 + 817d82c commit 6c41020

File tree

5 files changed

+98
-86
lines changed

5 files changed

+98
-86
lines changed
212 KB
Loading
-109 KB
Loading

articles/container-apps/storage-mounts.md

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.custom: devx-track-azurecli
88
ms.topic: conceptual
9-
ms.date: 09/19/2024
9+
ms.date: 01/23/2025
1010
ms.author: cshoe
1111
zone_pivot_groups: arm-azure-cli-portal
1212
---
@@ -574,51 +574,69 @@ See the [ARM template API specification](azure-resource-manager-api-spec.md) for
574574
575575
::: zone pivot="azure-portal"
576576
577-
# [SMB](#tab/smb)
578-
579577
To configure a volume mount for Azure Files storage in the Azure portal, add a file share to your Container Apps environment and then add a volume mount to your container app by creating a new revision.
580578
581579
1. In the Azure portal, navigate to your Container Apps environment.
582580
583-
1. Select **Azure Files** from the left menu.
581+
1. In the navigation pane, under *Settings*, select **Azure Files**.
584582
585583
1. Select **Add**.
586584
587-
1. In the *Add file share* context menu, enter the following information:
585+
1. Select **Server Message Block (SMB)** or **Network File System (NFS)**, depending on the protocol used by your file share.
586+
587+
1. In the *Add file share* context pane, enter the following information:
588+
589+
# [SMB](#tab/smb)
588590
589591
- **Name**: A name for the file share.
590592
- **Storage account name**: The name of the storage account that contains the file share.
591593
- **Storage account key**: The access key for the storage account.
592594
- **File share**: The name of the file share.
593-
- **Access mode**: The access mode for the file share. Valid values are "Read/Write" and "Read only".
595+
- **Access mode**: The access mode for the file share. Valid values are **Read/Write** and **Read only**.
596+
597+
# [NFS](#tab/nfs)
598+
599+
- **Name**: A name for the file share.
600+
- **Server**: The name of the server that contains the file share. This has the form `<STORAGE_ACCOUNT_NAME>.file.core.windows.net`.
601+
- **File share name**: The name of the file share. This has the form `/<STORAGE_ACCOUNT_NAME>/<FILE_SHARE_NAME>`.
602+
- **Access mode**: The access mode for the file share. Valid values are **Read/Write** and **Read only**.
603+
604+
---
594605
595606
1. Select **Add** to exit the context pane.
596607
597608
1. Select **Save** to commit the changes.
598609
599610
1. Navigate to your container app.
600611
601-
1. Select **Revision management** from the left menu.
612+
1. In the navigation pane, under *Application*, select **Revisions and replicas**.
602613
603614
1. Select **Create new revision**.
604615
616+
1. In the *Create and deploy new revision* page, select the **Volumes** tab.
617+
618+
1. Select **Add**.
619+
620+
1. In the *Add volume* context pane, set the following.
621+
622+
- **Volume type**: **Azure file volume**.
623+
- **Name**: Enter a volume name.
624+
- **File share name**: Select the file share you created previously.
625+
626+
1. Select **Add** to exit the context pane.
627+
628+
1. In the *Create and reploy new revision* page, select the **Container** tab.
629+
605630
1. Select the container that you want to mount the volume in.
606631
607632
1. In the *Edit a container* context pane, select the **Volume mounts** tab.
608633
609-
1. Under the *File shares* section, create a new volume with the following information.
634+
1. Under *Volume name*, select the volume you created previously.
610635
611-
- **File share name**: The file share you added.
612-
- **Mount path**: The absolute path in the container to mount the volume.
636+
1. In **Mount path**, enter the absolute path in the container to mount the volume.
613637
614638
1. Select **Save** to save changes and exit the context pane.
615639
616640
1. Select **Create** to create the new revision.
617641
618-
# [NFS](#tab/nfs)
619-
620-
Azure portal doesn't support creating NFS Azure Files volumes. To create an NFS Azure Files volume, use the [Azure CLI](storage-mounts.md?tabs=nfs&pivots=azure-cli#azure-files) or [ARM template](storage-mounts.md?tabs=nfs&pivots=azure-resource-manager#azure-files).
621-
622-
---
623-
624642
::: zone-end

0 commit comments

Comments
 (0)