evroc loadbalancer backendservice sethealthcheckhttp

Set an HTTP health check on a backend service

evroc loadbalancer backendservice sethealthcheckhttp <backendservice_id> [flags]

Options

      --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.

Options inherited from parent commands

      --config string   Path to the evroc config file (default "~/.evroc/config.yaml")

SEE ALSO