You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/storage-mounts.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
6
6
ms.service: azure-container-apps
7
7
ms.custom: devx-track-azurecli
8
8
ms.topic: conceptual
9
-
ms.date: 01/31/2025
9
+
ms.date: 02/25/2025
10
10
ms.author: cshoe
11
11
zone_pivot_groups: arm-azure-cli-portal
12
12
---
@@ -321,9 +321,12 @@ For a step-by-step tutorial on mounting an SMB file share, refer to [Create an A
321
321
- The `name` is an identifier for the volume.
322
322
- For `storageType`, use `AzureFile` for SMB, or `NfsAzureFile` for NFS. This value must match the storage type you defined in the environment.
323
323
- For `storageName`, use the name of the storage you defined in the environment.
324
+
- The `mountOptions` is a comma-separated string of mount options. For more information see [Use mountOptions settings in Azure Files](/troubleshoot/azure/azure-kubernetes/storage/mountoptions-settings-azure-files).
325
+
- The `secrets` list is a list of secrets to mount in the volume. For more information see [Mounting secrets in a volume](./manage-secrets.md#secrets-volume-mounts).
324
326
- For each container in the template that you want to mount Azure Files storage, define a volume mount in the `volumeMounts` array of the container definition.
325
327
- The `volumeName` is the name defined in the `volumes` array.
326
328
- The `mountPath` is the path in the container to mount the volume.
329
+
- The `subPath` (optional) is the path in the volume to mount. If not specified, the volume root is mounted. For more information see [using subPath](https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath).
327
330
328
331
# [SMB](#tab/smb)
329
332
@@ -338,6 +341,7 @@ For a step-by-step tutorial on mounting an SMB file share, refer to [Create an A
338
341
volumeMounts:
339
342
- volumeName: azure-files-volume
340
343
mountPath: /my-files
344
+
subPath: my-sub-path
341
345
volumes:
342
346
- name: azure-files-volume
343
347
storageType: AzureFile
@@ -357,6 +361,7 @@ For a step-by-step tutorial on mounting an SMB file share, refer to [Create an A
357
361
volumeMounts:
358
362
- volumeName: azure-files-volume
359
363
mountPath: /my-files
364
+
subPath: my-sub-path
360
365
volumes:
361
366
- name: azure-files-volume
362
367
storageType: NfsAzureFile
@@ -501,7 +506,8 @@ The following ARM template snippets demonstrate how to add an Azure Files share
501
506
"volumeMounts": [
502
507
{
503
508
"mountPath": "/myfiles",
504
-
"volumeName": "azure-files-volume"
509
+
"volumeName": "azure-files-volume",
510
+
"subPath": "my-sub-path"
505
511
}
506
512
]
507
513
}
@@ -547,7 +553,8 @@ The following ARM template snippets demonstrate how to add an Azure Files share
547
553
"volumeMounts": [
548
554
{
549
555
"mountPath": "/myfiles",
550
-
"volumeName": "azure-files-volume"
556
+
"volumeName": "azure-files-volume",
557
+
"subPath": "my-sub-path"
551
558
}
552
559
]
553
560
}
@@ -574,9 +581,12 @@ The following ARM template snippets demonstrate how to add an Azure Files share
574
581
- The `name` is an identifier for the volume.
575
582
- For `storageType`, use `AzureFile` for SMB, or `NfsAzureFile` for NFS. This value must match the storage type you defined in the environment.
576
583
- For `storageName`, use the name of the storage you defined in the environment.
584
+
- The `mountOptions` is a comma-separated string of mount options. For more information see [Use mountOptions settings in Azure Files](/troubleshoot/azure/azure-kubernetes/storage/mountoptions-settings-azure-files).
585
+
- The `secrets` list is a list of secrets to mount in the volume. For more information see [Mounting secrets in a volume](./manage-secrets.md#secrets-volume-mounts).
577
586
- For each container in the template that you want to mount Azure Files storage, define a volume mount in the `volumeMounts` array of the container definition.
578
587
- The `volumeName` is the name defined in the `volumes` array.
579
588
- The `mountPath` is the path in the container to mount the volume.
589
+
- The `subPath` (optional) is the path in the volume to mount. If not specified, the volume root is mounted. For more information see [using subPath](https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath).
580
590
581
591
See the [ARM template API specification](azure-resource-manager-api-spec.md) for a full example.
582
592
@@ -632,6 +642,7 @@ To configure a volume mount for Azure Files storage in the Azure portal, add a f
632
642
- **Volume type**: **Azure file volume**.
633
643
- **Name**: Enter a volume name.
634
644
- **File share name**: Select the file share you created previously.
645
+
- **Mount options**: Optionally, enter a comma-separated string of mount options. For more information see [Use mountOptions settings in Azure Files](/troubleshoot/azure/azure-kubernetes/storage/mountoptions-settings-azure-files).
635
646
636
647
1. Select **Add** to exit the context pane.
637
648
@@ -645,6 +656,8 @@ To configure a volume mount for Azure Files storage in the Azure portal, add a f
645
656
646
657
1. In **Mount path**, enter the absolute path in the container to mount the volume.
647
658
659
+
1. In **Sub path (optional)**, enter the path in the volume to mount. If not specified, the volume root is mounted. For more information see [using subPath](https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath).
660
+
648
661
1. Select **Save** to save changes and exit the context pane.
Copy file name to clipboardExpand all lines: articles/managed-grafana/encryption.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ For more information, go to [Encryption at rest in Azure Cosmos DB](/azure/cosmo
32
32
33
33
The encryption model used by Azure Managed Grafana is the server-side encryption model with Service-Managed keys.
34
34
35
-
In this model, all key management aspects such as key issuance, rotation, and backup are managed by Microsoft. The Azure resource providers create the keys, place them in secure storage, and retrieve them when needed. For more information, go to [Server-side encryption using service-managed keys](../security/fundamentals/encryption-models.md#server-side-encryption-using-service-managed-keys).
35
+
In this model, all key management aspects, such as key issuance, rotation, and backup, are managed by Microsoft. The Azure resource providers create the keys, place them in secure storage, and retrieve them when needed. For more information, go to [Server-side encryption using service-managed keys](../security/fundamentals/encryption-models.md#server-side-encryption-using-service-managed-keys).
0 commit comments