Skip to main content

dtctl load-balancer update-pool

Usage​

dtctl load-balancer update-pool [flags]

Aliases​

up

Description​

Update a pool's balancing algorithm or sticky-session setting.

Example​

dtctl load-balancer update-pool --lb-id <lb-id> --pool-id <pool-id> --algorithm LEAST_CONNECTIONS

Flags​

OptionDescription
--algorithm, -aLoad balancing algorithm. One of: ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP
--lb-id, -iID of the load balancer (required)
--pool-id, -pID of the load balancer pool (required)
--sticky-session, -sEnable sticky session (persist a client to the same member)
Default: false
CommandDescription
dtctl load-balancer create-poolCreate a pool
dtctl load-balancer delete-poolDelete 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