Skip to content

Commit f7fae81

Browse files
Merge pull request #253089 from hilaryw29/patch-13
Update 200 status code requirement for Binary Health States
2 parents 67e267f + ba2d77c commit f7fae81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-health-extension.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Application Health Extensions has two options available: **Binary Health States*
4343
| -------- | -------------------- | ------------------ |
4444
| Available Health States | Two available states: *Healthy*, *Unhealthy* | Four available states: *Healthy*, *Unhealthy*, *Initializing*, *Unknown*<sup>1</sup> |
4545
| Sending Health Signals | Health signals are sent through HTTP/HTTPS response codes or TCP connections. | Health signals on HTTP/HTTPS protocol are sent through the probe response code and response body. Health signals through TCP protocol remain unchanged from Binary Health States. |
46-
| Identifying *Unhealthy* Instances | Instances will automatically fall into *Unhealthy* state if a *Healthy* signal isn't received from the application. An *Unhealthy* instance can indicate either an issue with the extension configuration (for example, unreachable endpoint) or an issue with the application (for example, non-2xx status code). | Instances will only go into an *Unhealthy* state if the application emits an *Unhealthy* probe response. Users are responsible for implementing custom logic to identify and flag instances with *Unhealthy* applications<sup>2</sup>. Instances with incorrect extension settings (for example, unreachable endpoint) or invalid health probe responses will fall under the *Unknown* state<sup>2</sup>. |
46+
| Identifying *Unhealthy* Instances | Instances will automatically fall into *Unhealthy* state if a *Healthy* signal isn't received from the application. An *Unhealthy* instance can indicate either an issue with the extension configuration (for example, unreachable endpoint) or an issue with the application (for example, non-200 status code). | Instances will only go into an *Unhealthy* state if the application emits an *Unhealthy* probe response. Users are responsible for implementing custom logic to identify and flag instances with *Unhealthy* applications<sup>2</sup>. Instances with incorrect extension settings (for example, unreachable endpoint) or invalid health probe responses will fall under the *Unknown* state<sup>2</sup>. |
4747
| *Initializing* state for newly created instances | *Initializing* state isn't available. Newly created instances may take some time before settling into a steady state. | *Initializing* state allows newly created instances to settle into a steady Health State before making the instance eligible for rolling upgrades or instance repair operations. |
4848
| HTTP/HTTPS protocol | Supported | Supported |
4949
| TCP protocol | Supported | Limited Support – *Unknown* state is unavailable on TCP protocol. See [Rich Health States protocol table](#rich-health-states) for Health State behaviors on TCP. |
@@ -68,8 +68,8 @@ Binary Health State reporting contains two Health States, *Healthy* and *Unhealt
6868

6969
| Protocol | Health State | Description |
7070
| -------- | ------------ | ----------- |
71-
| http/https | Healthy | To send a *Healthy* signal, the application is expected to return a 2xx response code. |
72-
| http/https | Unhealthy | The instance will be marked as *Unhealthy* if a 2xx response code isn't received from the application. |
71+
| http/https | Healthy | To send a *Healthy* signal, the application is expected to return a 200 response code. |
72+
| http/https | Unhealthy | The instance will be marked as *Unhealthy* if a 200 response code isn't received from the application. |
7373

7474
**TCP Protocol**
7575

@@ -79,7 +79,7 @@ Binary Health State reporting contains two Health States, *Healthy* and *Unhealt
7979
| TCP | Unhealthy | The instance will be marked as *Unhealthy* if a failed or incomplete handshake occurred with the provided application endpoint. |
8080

8181
Some scenarios that may result in an *Unhealthy* state include:
82-
- When the application endpoint returns a non-2xx status code
82+
- When the application endpoint returns a non-200 status code
8383
- When there's no application endpoint configured inside the virtual machine instances to provide application health status
8484
- When the application endpoint is incorrectly configured
8585
- When the application endpoint isn't reachable

0 commit comments

Comments
 (0)