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/workloads/async/configuration.md
+6
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,12 @@
42
42
period_seconds: <int> # how often (in seconds) to perform the probe (default: 10)
43
43
success_threshold: <int> # minimum consecutive successes for the probe to be considered successful after having failed (default: 1)
44
44
failure_threshold: <int> # minimum consecutive failures for the probe to be considered failed after having succeeded (default: 3)
45
+
pre_stop: # a pre-stop lifecycle hook for the container; will be executed before container termination (optional)
46
+
http_get: # specifies an http endpoint to send a request to (only one of http_get, tcp_socket, and exec may be specified)
47
+
port: <int|string> # the port to access on the container (required)
48
+
path: <string> # the path to access on the HTTP server (default: /)
49
+
exec: # specifies a command to run (only one of http_get, tcp_socket, and exec may be specified)
50
+
command: <list[string]> # the command to execute inside the container, which is exec'd (not run inside a shell); the working directory is root ('/') in the container's filesystem (required)
45
51
autoscaling: # autoscaling configuration (default: see below)
46
52
min_replicas: <int> # minimum number of replicas (default: 1; min value: 0)
47
53
max_replicas: <int> # maximum number of replicas (default: 100)
Copy file name to clipboardExpand all lines: docs/workloads/realtime/configuration.md
+6
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,12 @@
45
45
period_seconds: <int> # how often (in seconds) to perform the probe (default: 10)
46
46
success_threshold: <int> # minimum consecutive successes for the probe to be considered successful after having failed (default: 1)
47
47
failure_threshold: <int> # minimum consecutive failures for the probe to be considered failed after having succeeded (default: 3)
48
+
pre_stop: # a pre-stop lifecycle hook for the container; will be executed before container termination (optional)
49
+
http_get: # specifies an http endpoint to send a request to (only one of http_get, tcp_socket, and exec may be specified)
50
+
port: <int|string> # the port to access on the container (required)
51
+
path: <string> # the path to access on the HTTP server (default: /)
52
+
exec: # specifies a command to run (only one of http_get, tcp_socket, and exec may be specified)
53
+
command: <list[string]> # the command to execute inside the container, which is exec'd (not run inside a shell); the working directory is root ('/') in the container's filesystem (required)
48
54
autoscaling: # autoscaling configuration (default: see below)
49
55
min_replicas: <int> # minimum number of replicas (default: 1)
50
56
max_replicas: <int> # maximum number of replicas (default: 100)
0 commit comments