Skip to content

Commit 5ece439

Browse files
authored
Add latestRevision=true details
1 parent 47fcfa6 commit 5ece439

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

articles/container-apps/application-lifecycle-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In single revision mode, Container Apps automatically ensures your app does not
3737
> [!NOTE]
3838
> A new revision is considered ready when one of its replicas starts and becomes ready. A replica is ready when all of its containers start and pass their [startup and readiness probes](./health-probes.md).
3939
40-
In multiple revision mode, you control when revisions are activated or deactivated and which revisions are receiving ingress traffic.
40+
In multiple revision mode, you control when revisions are activated or deactivated and which revisions are receiving ingress traffic. If a [traffic splitting rule](./revisions-manage.md#traffic-splitting) is configured with `latestRevision` set to `true`, its traffic will not switch to the latest revision until it is ready.
4141

4242
## Deactivate
4343

articles/container-apps/revisions-manage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ az containerapp revision set-mode `
297297

298298
Applied by assigning percentage values, you can decide how to balance traffic among different revisions. Traffic splitting rules are assigned by setting weights to different revisions.
299299

300+
To create a traffic rule that always routes traffic to the latest revision, set its `latestRevision` property to `true` and don't set `revisionName`.
301+
300302
The following example shows how to split traffic between three revisions.
301303

302304
```json

0 commit comments

Comments
 (0)