Skip to content

Commit 3bd8ba4

Browse files
committed
updateProbes
1 parent 891d802 commit 3bd8ba4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/container-apps/health-probes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ The optional `failureThreshold` setting defines the number of attempts Container
163163

164164
## Default configuration
165165

166-
If ingress is enabled, the following default probes are automatically added to the main app container if none is defined for each type.
166+
If ingress is enabled, the following default probes are automatically added to the main app container if none of the probe configurations have been modified. If any of the configurations have been modified, the remaining values will use [Kubernetes defaults](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core).
167167

168168
| Probe type | Default values |
169-
|---|---|
170-
| Startup | Protocol: TCP<br>Port: ingress target port<br>Timeout: 1 second<br>Period: 1 second<br>Initial delay: 1 second<br>Success threshold: 1<br>Failure threshold: `timeoutSeconds` |
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: `timeoutSeconds / 5` |
169+
| -- | -- |
170+
| 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 seconds |
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 seconds |
172172
| Liveness | Protocol: TCP<br>Port: ingress target port |
173173

174174
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.

0 commit comments

Comments
 (0)