Skip to main content

dtctl load-balancer update-member

Usage​

dtctl load-balancer update-member [flags]

Aliases​

um

Description​

Update a member's weight, enabled state, monitor address/port, or backup flag.

Example​

# Change a member's weight
dtctl load-balancer update-member --lb-id <lb-id> --balancing-pool-id <pool-id> --member-id <member-id> --weight 5

Flags​

OptionDescription
--backup, -bEnable or disable backup for the load balancer member
Default: false
--balancing-pool-id, -pID of the load balancer pool (required)
--enabled, -eEnable or disable the load balancer member
Default: false
--lb-id, -iID of the load balancer (required)
--member-id, -mID of the load balancer member (required)
--monitor-address, -zMonitor address of the load balancer member
--monitor-port, -rMonitor port of the load balancer member
--name, -nName of the load balancer member
--weight, -wWeight of the load balancer member
CommandDescription
dtctl load-balancer create-memberAdd a member to a pool
dtctl load-balancer delete-memberDelete a member
dtctl load-balancer batch-update-membersAdd or replace pool members in bulk
dtctl load-balancer member-vmsList candidate member VMs on a network
dtctl load-balancer membersList members of a pool

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