Skip to content

evroc loadbalancer backendservice sethealthcheckhttp

Set an HTTP health check on a backend service

Terminal window
evroc loadbalancer backendservice sethealthcheckhttp <backendservice_id> [flags]
Terminal window
--disable-proxy-protocol Omit Proxy Protocol headers from health check connections.
--expected-statuses uints HTTP response status codes considered healthy. (default [])
--healthy-threshold uint32 Consecutive successes required to mark an endpoint healthy.
-h, --help help for sethealthcheckhttp
--host string HTTP Host header value.
--interval duration Duration between health check attempts.
--method string HTTP method: GET or HEAD. (default "GET")
--path string Absolute request path (required).
--target-port uint32 Backend endpoint port to check.
--timeout duration Duration allowed for one health check attempt.
--unhealthy-threshold uint32 Consecutive failures required to mark an endpoint unhealthy.
Terminal window
--config string Path to the evroc config file (default "~/.evroc/config.yaml")