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
Container Apps revisions help you manage the release of updates to your container app by creating a new revision each time you make a *revision-scope* change to your app. You can control which revisions are active, and when external HTTP ingress is enabled, the traffic that is routed to each active revision.
29
+
Container Apps revisions help you manage the release of updates to your container app by creating a new revision each time you make a *revision-scope* change to your app. You can control which revisions are active, and when external HTTP ingress is enabled, control the traffic that is routed to each active revision.
30
30
31
31
You can use revisions to:
32
32
@@ -48,17 +48,19 @@ The scenario shown above presumes the container app is in the following state:
48
48
49
49
## Revision suffix
50
50
51
-
You can customize the revision name by setting the revision suffix.
51
+
Revision names are used to identify a revision, and in the revision's URL. You can customize the revision name by setting the revision suffix.
52
52
53
53
The format of a revision name is:
54
54
55
-
[container app name]--[revision suffix]
55
+
```text
56
+
<container app name>--<revision suffix>
57
+
```
56
58
57
59
By default, Container Apps creates a unique revision name with a suffix consisting of a semi-random string of alphanumeric characters. You can customize the name by setting a unique custom revision suffix.
58
60
59
61
For example, for a container app named *album-api*, setting the revision suffix name to *1st-revision* would create a revision with the name *album-api--1st-revision*.
60
62
61
-
You can set the revision suffix in the [ARM template](azure-resource-manager-api-spec.md#propertiestemplate), through Azure CLI commands, or when creating a revision via the Azure portal.
63
+
You can set the revision suffix in the [ARM template](azure-resource-manager-api-spec.md#propertiestemplate), through the Azure CLI`az containerapp create` and `az containerapp update` commands, or when creating a revision via the Azure portal.
62
64
63
65
## Change types
64
66
@@ -78,17 +80,16 @@ These changes include modifications to:
78
80
79
81
### Application-scope changes
80
82
81
-
*Application-scope* changes are global to all container app revision. When you deploy a container app with *application-scope* changes:
83
+
When you deploy a container app with *application-scope* changes:
82
84
83
-
-a new revision isn't created
84
-
-the changes are applied to every revision
85
+
-The changes are globally applied to all revisions.
86
+
-A new revision isn't created.
85
87
86
88
*Application-scope* changes are defined as any change to the parameters in the [`properties.configuration`](azure-resource-manager-api-spec.md#propertiesconfiguration) section of the container app resource template.
87
89
88
90
These parameters include:
89
91
90
-
-[Secret values](manage-secrets.md)
91
-
- Revisions must be [restarted](revisions.md) before a container recognizes new secret values.
92
+
-[Secret values](manage-secrets.md) (Revisions must be [restarted](revisions.md) before a container recognizes new secret values.)
92
93
- Revision mode
93
94
- Ingress configuration including:
94
95
- Turning [ingress](ingress.md) on or off
@@ -116,10 +117,9 @@ For an app implementing external HTTP ingress, you can control the percentage of
116
117
117
118
For container apps with external HTTP traffic, labels are a portable means to direct traffic to specific revisions. A label provides a unique URL that you can use to route traffic to the revision that the label is assigned. To switch traffic between revisions, you can move the label from one revision to another.
118
119
119
-
- Label name rules are the same as for container app names.
120
-
- The same label can't be applied to more than one active or inactive revision.
121
120
- Labels keep the same URL when moved from one revision to another.
122
-
- Traffic allocation isn't required for revisions with labels.
121
+
- A label can be applied to only one revision at a time.
122
+
- Allocation for traffic splitting isn't required for revisions with labels.
123
123
- Labels are most useful when the app is in *multiple revision mode*.
124
124
- You can enable labels, traffic splitting or both.
0 commit comments