dtctl load-balancer update-health-monitor
Usage
dtctl load-balancer update-health-monitor [flags]
Aliases
uhm
Description
Update a health monitor's interval, timeout, thresholds, or URL path.
Example
dtctl load-balancer update-health-monitor --lb-id <lb-id> --monitor-id <monitor-id> --interval 10 --timeout 7
Flags
| Option | Description |
|---|---|
--healthy-threshold, -v | Consecutive successful checks before a member is marked healthy |
--interval, -n | Seconds between health checks |
--lb-id, -i | ID of the load balancer (required) |
--monitor-id, -m | ID of the load balancer health monitor (required) |
--path, -u | URL path to probe (for HTTP/HTTPS types), e.g. /healthz |
--timeout, -t | Seconds to wait for a probe response before it fails |
--unhealthy-threshold, -x | Consecutive failed checks before a member is marked unhealthy |
Related Commands
| Command | Description |
|---|---|
| dtctl load-balancer create-health-monitor | Create a health monitor |
| dtctl load-balancer delete-health-monitor | Delete a health monitor |
| dtctl load-balancer health-monitor-details | Show a health monitor |
| dtctl load-balancer health-monitors | List health monitors |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |