/ > reference/ > doctl > reference > compute > load-balancer

doctl compute load-balancer

Go to Navigation

Usage

doctl compute load-balancer [flags]

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

OptionDescription
--help, -hHelp for this command
CommandDescription
doctl computeDisplay commands that manage infrastructure
doctl compute load-balancer add-dropletsAdd Droplets to a load balancer
doctl compute load-balancer add-forwarding-rulesAdd forwarding rules to a load balancer
doctl compute load-balancer createCreate a new load balancer
doctl compute load-balancer deletePermanently delete a load balancer
doctl compute load-balancer getRetrieve a load balancer
doctl compute load-balancer listList load balancers
doctl compute load-balancer remove-dropletsRemove Droplets from a load balancer
doctl compute load-balancer remove-forwarding-rulesRemove forwarding rules from a load balancer
doctl compute load-balancer updateUpdate a load balancer's configuration

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify 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
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false