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/containers.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: container-apps
7
7
ms.topic: conceptual
8
-
ms.date: 11/02/2021
8
+
ms.date: 02/18/2022
9
9
ms.author: cshoe
10
10
ms.custom: ignite-fall-2021
11
11
---
@@ -18,7 +18,7 @@ Azure Container Apps manages the details of Kubernetes and container orchestrati
18
18
19
19
Azure Container Apps supports:
20
20
21
-
- Any Linux-based container image
21
+
- Any Linux-based x86-64 (`linux/amd64`) container image
22
22
- Containers from any public or private container registry
23
23
24
24
Additional features include:
@@ -51,8 +51,8 @@ The following example configuration shows the options available when setting up
51
51
}
52
52
],
53
53
"resources": {
54
-
"cpu": 1,
55
-
"memory": "250Mb"
54
+
"cpu": 0.75,
55
+
"memory": "1.5Gi"
56
56
}
57
57
}]
58
58
}
@@ -66,17 +66,21 @@ The following example configuration shows the options available when setting up
66
66
|`command`| The container's startup command. | Equivalent to Docker's [entrypoint](https://docs.docker.com/engine/reference/builder/) field. |
67
67
|`args`| Start up command arguments. | Entries in the array are joined together to create a parameter list to pass to the startup command. |
68
68
|`env`| An array of key/value pairs that define environment variables. | Use `secretRef` instead of the `value` field to refer to a secret. |
69
-
|`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 2, and can be any decimal number, with a maximum of one decimal place. For example, `1.1` is valid, but `1.55` is invalid. The default is 0.5 CPU per container. |
70
-
|`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 `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. |
69
+
|`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. |
70
+
|`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. |
71
71
72
72
The total amount of CPUs and memory requested for all the containers in a container app must add up to one of the following combinations.
73
73
74
-
| vCPUs | Memory in Gi|
74
+
| vCPUs (cores) | Memory |
75
75
|---|---|
76
-
| 0.5 | 1.0 |
77
-
| 1.0 | 2.0 |
78
-
| 1.5 | 3.0 |
79
-
| 2.0 | 4.0 |
76
+
|`0.25`|`0.5Gi`|
77
+
|`0.5`|`1.0Gi`|
78
+
|`0.75`|`1.5Gi`|
79
+
|`1.0`|`2.0Gi`|
80
+
|`1.25`|`2.5Gi`|
81
+
|`1.5`|`3.0Gi`|
82
+
|`1.75`|`3.5Gi`|
83
+
|`2.0`|`4.0Gi`|
80
84
81
85
- All of the CPU requests in all of your containers must match one of the values in the vCPUs column.
82
86
- All of the memory requests in all your containers must match the memory value in the memory column in the same row of the CPU column.
@@ -143,9 +147,9 @@ Azure Container Apps has the following limitations:
143
147
144
148
-**Privileged containers**: Azure Container Apps can't run privileged containers. If your program attempts to run a process that requires root access, the application inside the container experiences a runtime error.
145
149
146
-
-**Operating system**: Linux-based container images are required.
150
+
-**Operating system**: Linux-based (`linux/amd64`) container images are required.
0 commit comments