doctl compute load-balancer

Go to Navigation

Description

The sub-commands of doctl compute load-balancer manage your load balancers.

With the load-balancer command, you can list, create, or delete load balancers, and manage their configuration details.

Flags

Option Description
--help , -h Help for this command
Command Description
doctl compute Display commands that manage infrastructure
doctl compute load-balancer add-droplets Add Droplets to a load balancer
doctl compute load-balancer add-forwarding-rules Add forwarding rules to a load balancer
doctl compute load-balancer create Create a new load balancer
doctl compute load-balancer delete Permanently delete a load balancer
doctl compute load-balancer get Retrieve a load balancer
doctl compute load-balancer list List load balancers
doctl compute load-balancer remove-droplets Remove Droplets from a load balancer
doctl compute load-balancer remove-forwarding-rules Remove forwarding rules from a load balancer
doctl compute load-balancer update Update a load balancer's configuration

Global Flags

Option Description
--access-token, -t API V2 access token
--api-url, -u Override default API endpoint
--config, -c Specify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--context Specify a custom authentication context name
--output, -o Desired output format [text|json]
Default: text
--trace Show a log of network activity while performing a command
Default: false
--verbose, -v Enable verbose output
Default: false