Skip to main content

dtctl load-balancer delete-pool

Usage​

dtctl load-balancer delete-pool [flags]

Aliases​

dp

Description​

Delete a pool from a load balancer by ID. Its members and health monitor are removed with it.

Example​

dtctl load-balancer delete-pool --lb-id <lb-id> --pool-id <pool-id>

Flags​

OptionDescription
--force, -fDelete without asking for confirmation
Default: false
--lb-id, -iID of the load balancer (required)
--pool-id, -pID of the load balancer pool (required)
CommandDescription
dtctl load-balancer create-poolCreate a pool
dtctl load-balancer update-poolUpdate a pool
dtctl load-balancer pool-detailsShow a pool
dtctl load-balancer poolsList pools of a load balancer

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text