Skip to content

Commit e94e787

Browse files
committed
Add storage mounts to configuration settings.
1 parent 0c4f58c commit e94e787

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/container-apps/containers.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ Below is an example of the `containers` array in the [`properties.template`](azu
5353
"cpu": 0.5,
5454
"memory": "1Gi"
5555
},
56+
"volumeMounts": [
57+
{
58+
"mountPath": "/myfiles",
59+
"volumeName": "azure-files-volume"
60+
}
61+
]
5662
"probes":[
5763
{
5864
"type":"liveness",
@@ -105,6 +111,7 @@ Below is an example of the `containers` array in the [`properties.template`](azu
105111
| `env` | An array of key/value pairs that define environment variables. | Use `secretRef` instead of the `value` field to refer to a secret. |
106112
| `resources.cpu` | The number of CPUs allocated to the container. | Values must adhere to the following rules: the value must be greater than zero and less than or equal to 2, and can be any decimal number, with a maximum of two decimal places. For example, `1.25` is valid, but `1.555` is invalid. The default is 0.5 CPU per container. |
107113
| `resources.memory` | The amount of RAM allocated to the container. | This value is up to `4Gi`. The only allowed units are [gibibytes](https://simple.wikipedia.org/wiki/Gibibyte) (`Gi`). Values must adhere to the following rules: the value must be greater than zero and less than or equal to `4Gi`, and can be any decimal number, with a maximum of two decimal places. For example, `1.25Gi` is valid, but `1.555Gi` is invalid. The default is `1Gi` per container. |
114+
| `volumeMounts` | An array of volume mount definitions. | You can define a temporary volume or multiple permanent storage volumes for your container. For more information about storage volumes, see [Use storage mounts in Azure Container Apps](storage-mounts.md).|
108115
| `probes`| An array of health probes enabled in the container. | This feature is based on Kubernetes health probes. For more information about probes settings, see [Health probes in Azure Container Apps](health-probes.md).|
109116

110117

0 commit comments

Comments
 (0)