Skip to content

Commit bf4d167

Browse files
committed
[ACA] Add guidance to health probes article.
1 parent 592909d commit bf4d167

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/container-apps/health-probes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,12 @@ If ingress is enabled, the following default probes are automatically added to t
167167
| Probe type | Default values |
168168
| -- | -- |
169169
| Startup | Protocol: TCP<br>Port: ingress target port<br>Timeout: 3 seconds<br>Period: 1 second<br>Initial delay: 1 second<br>Success threshold: 1<br>Failure threshold: 240 |
170-
| Readiness | Protocol: TCP<br>Port: ingress target port<br>Timeout: 5 seconds<br>Period: 5 seconds<br>Initial delay: 3 seconds<br>Success threshold: 1<br>Failure threshold: 48 |
171170
| Liveness | Protocol: TCP<br>Port: ingress target port |
171+
| Readiness | Protocol: TCP<br>Port: ingress target port<br>Timeout: 5 seconds<br>Period: 5 seconds<br>Initial delay: 3 seconds<br>Success threshold: 1<br>Failure threshold: 48 |
172+
173+
If you're running your container app in [multiple revision mode](revisions.md#revision-modes), after you deploy a revision, you should wait until your readiness probes indicate success before you shift traffic to that revision. In single revision mode, this happens automatically (that is, traffic is not shifted to the new revision until its readiness probes indicate success.)
174+
175+
A revision state appears as unhealthy if any of its replicas fails its readiness probe check, even if all other replicas in the revision are healthy. Container Apps restarts the replica in question until it is healthy again or the failure threshold is exceeded. If the failure threshold is exceeded, it might help to restart the revision, but it might also mean the revision is not configured correctly.
172176

173177
If your app takes an extended amount of time to start (which is common in Java) you often need to customize the probes so your container doesn't crash.
174178

0 commit comments

Comments
 (0)