Skip to content

Commit 99c98bd

Browse files
Merge pull request #291091 from v-jaswel/aca/v-jaswel_20241126_work_item_29821
[ACA] Add guidance to health probes article.
2 parents a3dd668 + c68450c commit 99c98bd

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, wait until your readiness probes indicate success before you shift traffic to that revision. In single revision mode, traffic is shifted automatically once the readiness probe returns a successful state.
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, try restarting the revision, but it might 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)