|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The custom health check configuration of the function. Applicable only to Custom Runtime and Custom Container functions. |
||
| failureThreshold |
integer |
The number of consecutive health check failures before the system marks the check as failed. Valid values: 1 to 120. Default value: 3. |
1 |
| httpGetUrl |
string |
The URL for custom container health checks. Maximum length: 2,048 characters. |
/ready |
| initialDelaySeconds |
integer |
The delay between container startup and the first health check, in seconds. Valid values: 0 to 120. Default value: 0. |
1 |
| periodSeconds |
integer |
The interval between health checks, in seconds. Valid values: 1 to 120. Default value: 3. |
1 |
| successThreshold |
integer |
The number of consecutive health check successes before the system marks the check as successful. Valid values: 1 to 120. Default value: 1. |
2 |
| timeoutSeconds |
integer |
The timeout period of each health check, in seconds. Valid values: 1 to 3. Default value: 1. |
2 |