evroc loadbalancer backendservice sethealthchecktcp
Set a TCP health check on a backend service
evroc loadbalancer backendservice sethealthchecktcp <backendservice_id> [flags]Options
Section titled “Options” --disable-proxy-protocol Omit Proxy Protocol headers from health check connections. --healthy-threshold uint32 Consecutive successes required to mark an endpoint healthy. -h, --help help for sethealthchecktcp --interval duration Duration between health check attempts. --receive string Text payload expected in the response. --send string Text payload to send after connecting. --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.Options inherited from parent commands
Section titled “Options inherited from parent commands” --config string Path to the evroc config file (default "~/.evroc/config.yaml")See also
Section titled “See also”- evroc loadbalancer backendservice - Backend service management commands