Skip to content

Commit a9f25de

Browse files
committed
docs(srv): update
1 parent 1b007c1 commit a9f25de

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pages/serverless-containers/concepts.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@ gRPC is supported on Serverless Containers, as long as you have enabled http2 (`
9191

9292
## Health check
9393

94-
To determine the status of a container, the default health check automatically checks if basic requirements are met, to define the status as `ready`.
94+
To determine the status of a container, the default health check automatically checks if basic requirements are met, to define the status as `ready`. You can customize the following elements to better fit your use case:
95+
- The **probe type** defines the type of check to perform to define if your container is ready:
96+
- The **TCP** probe will check if the TCP connection of your Serverless Container is opened on the specified port
97+
- THe **HTTP** probe allows you to define a custom path to your Serverless Container to get the readiness status. It can be useful to check if all requirements are met, such as the connection to database, etc.
98+
- The **failure threshold** corresponds to the maximum number of checks that can fail before declaring the Serverless Container in error. Defaults to 30.
99+
- The **interval** corresponds to the duration in seconds between every checks. Defaults to 10 seconds.
100+
- The **path** (HTTP probe type only) corresponds to the endpoint to call you Serverless Container (example: `/health`).
95101

96102
You can define custom health check rules via the [Scaleway console](/serverless-containers/how-to/manage-a-container/) [specific endpoint via the Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-create-a-new-container).
97103

0 commit comments

Comments
 (0)