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: docs/resources/container.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,23 +68,23 @@ The following arguments are supported:
68
68
69
69
-`cpu_limit` - (Optional) The amount of vCPU computing resources to allocate to each container.
70
70
71
-
-`timeout` - (Optional) The maximum amount of time your container can spend processing a request before being stopped.
71
+
-`timeout` - (Optional) The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to `300` seconds.
72
72
73
73
-`privacy` - (Optional) The privacy type defines the way to authenticate to your container. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-containers/#protocol-9dd4c8).
74
74
75
75
-`registry_image` - (Optional) The registry image address (e.g., `rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE`)
76
76
77
77
-`registry_sha256` - (Optional) The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
78
78
79
-
-`max_concurrency` - (Optional) The maximum number of simultaneous requests your container can handle at the same time.
79
+
-`max_concurrency` - (Deprecated) The maximum number of simultaneous requests your container can handle at the same time. Use `scaling_option.concurrent_requests_threshold` instead.
80
80
81
81
-`protocol` - (Optional) The communication [protocol](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container)`http1` or `h2c`. Defaults to `http1`.
82
82
83
83
-`http_option` - (Optional) Allows both HTTP and HTTPS (`enabled`) or redirect HTTP to HTTPS (`redirected`). Defaults to `enabled`.
84
84
85
85
-`sandbox` - (Optional) Execution environment of the container.
86
86
87
-
-`heath_check` - (Optional) Health check configuration block of the container.
87
+
-`health_check` - (Optional) Health check configuration block of the container.
88
88
-`http` - HTTP health check configuration.
89
89
- `path` - Path to use for the HTTP health check.
90
90
-`failure_threshold` - Number of consecutive health check failures before considering the container unhealthy.
0 commit comments