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
Copy file name to clipboardExpand all lines: articles/frontdoor/health-probes.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ services: frontdoor
6
6
author: duongau
7
7
ms.service: azure-frontdoor
8
8
ms.topic: concept-article
9
-
ms.date: 01/09/2025
9
+
ms.date: 01/29/2025
10
10
ms.author: duau
11
11
---
12
12
@@ -67,30 +67,26 @@ Azure Front Door uses a three-step process across all algorithms to determine he
67
67
68
68
## Adjusting probe settings for long-starting containers
69
69
70
-
When you deal with long-starting containers, adjusting the probe settings can prevent premature failure. **Increasing the `ProbeTimeout`** and **`Interval` values** gives your containers more time to start before Front Door marks them as unhealthy.
70
+
When you deal with long-starting containers, adjusting the probe settings can prevent premature failure. Increasing the `ProbeTimeout` and `Interval` values gives your containers more time to start before Front Door marks them as unhealthy.
71
71
72
-
### Suggested values for long-starting containers:
72
+
### Values for long-starting containers
73
73
-**ProbeTimeout**: Increase the timeout period to 10–30 seconds.
74
74
-**Interval**: Set a longer interval (for example, 30–60 seconds) between probes.
75
75
-**UnhealthyThreshold**: Increase the number of consecutive failed probes before the container is considered unhealthy (for example, 3-5 retries).
76
76
77
+
> [!NOTE]
78
+
> The values provided for `ProbeTimeout`, `Interval`, and `UnhealthyThreshold` are sample ranges for example purposes. You can adjust these values based on your specific container's startup behavior and requirements.
79
+
77
80
> [!NOTE]
78
81
> These changes might cause a delay in detecting real failures, so balance these values carefully according to your container's startup behavior.
79
82
80
-
## How Probes Interact During Different Phases of the Container Lifecycle
81
-
82
-
### 1. **Container Start Phase**:
83
-
- During this phase, the container might not be fully ready to serve traffic. Health probes help detect when a container isn't responding by checking for specific HTTP status codes (for example, 200 OK).
84
-
- If the probe frequency is too high or the timeout is too short, the container marks as unhealthy before it completely initializes. Increase probe timeouts or intervals during this phase.
83
+
## Probe interaction during container lifecycle phases
85
84
86
-
### 2. **Running Phase**:
87
-
- Once the container is running, probes continue checking for health responses. If health checks consistently return **200 OK**, Front Door keeps the origin in rotation for traffic.
88
-
- If probes consistently fail (for example, due to a container crashing), Front Door marks the origin as unhealthy.
85
+
1.**Container Start Phase**: During this phase, the container might not be fully ready to serve traffic. Health probes help detect when a container isn't responding by checking for specific HTTP status codes (for example, `200 OK`). If the probe frequency is too high or the timeout is too short, the container is marked as unhealthy before initialization. Increase probe timeouts or intervals during this phase.
89
86
90
-
### 3. **Failure Phase**:
91
-
- If health probes fail for the configured threshold (for example, `UnhealthyThreshold`), the origin is considered unhealthy, and traffic is routed to other healthy origins.
92
-
- A diagram illustrating probe phases help visualize this interaction and lifecycle.
87
+
1.**Running Phase**: Once the container is running, probes continue checking for health responses. If health checks consistently return `200 OK`, Front Door keeps the origin in rotation for traffic. If probes consistently fail (for example, due to a container crashing), Front Door marks the origin as unhealthy.
93
88
89
+
1.**Failure Phase**: If health probes fail for the configured threshold (for example, `UnhealthyThreshold`), the origin is considered unhealthy, and traffic is routed to other healthy origins.
0 commit comments