Skip to content

Commit c30de71

Browse files
committed
Add Anthony's review suggestions
1 parent a4531c2 commit c30de71

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

articles/container-apps/storage-mounts-azure-files.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In this tutorial, you learn how to:
3030

3131
- Install the latest version of the [Azure CLI](/cli/azure/install-azure-cli).
3232

33-
## Set up
33+
## Set up the environment
3434

3535
The following commands help you define variables and ensure your Container Apps extension is up to date.
3636

@@ -437,14 +437,30 @@ Now you can update the container app configuration to support the storage mount.
437437
438438
1. Open *app.yaml* in a code editor.
439439
440-
1. Replace the `volumes: null` definition in the `template` section with the following reference to the storage volumes.
440+
1. Replace the `volumes: null` definition in the `template` section a `volumes:` definition referencing the storage volume. The template section should look like the following:
441441
442442
```yml
443443
template:
444444
volumes:
445445
- name: my-azure-file-volume
446446
storageName: mystoragemount
447447
storageType: AzureFile
448+
containers:
449+
- image: nginx
450+
name: my-container-app
451+
volumeMounts:
452+
- volumeName: my-azure-file-volume
453+
mountPath: /var/log/nginx
454+
resources:
455+
cpu: 0.5
456+
ephemeralStorage: 3Gi
457+
memory: 1Gi
458+
initContainers: null
459+
revisionSuffix: ''
460+
scale:
461+
maxReplicas: 1
462+
minReplicas: 1
463+
rules: null
448464
```
449465
450466
The new `template.volumes` section includes the following properties.

0 commit comments

Comments
 (0)