exo compute load-balancer service add
Description
This command adds a service to a Network Load Balancer.
Supported output template annotations: .ID, .Name, .Description, .InstancePoolID, .Protocol, .Port, .TargetPort, .Strategy, .Healthcheck, .HealthcheckStatus, .State
exo compute load-balancer service add LOAD-BALANCER-NAME|ID SERVICE-NAME [flags]Options
| Option | Description | 
|---|---|
| --description | service description | 
| --healthcheck-interval | service health checking interval in seconds | 
| --healthcheck-mode | service health checking mode (tcp|http|https) | 
| --healthcheck-port | service health checking port (defaults to target port) | 
| --healthcheck-retries | service health checking retries | 
| --healthcheck-timeout | service health checking timeout in seconds | 
| --healthcheck-tls-sni | service health checking server name to present with SNI in https mode | 
| --healthcheck-uri | service health checking URI (required in http(s) mode) | 
| --help, -h | help for add | 
| --instance-pool | name or ID of the Instance Pool to forward traffic to | 
| --port | service port | 
| --protocol | service network protocol (tcp|udp) | 
| --strategy | load balancing strategy (round-robin|source-hash) | 
| --target-port | port to forward traffic to on target instances (defaults to service port) | 
| --zone, -z | Network Load Balancer zone | 
Options inherited from parent commands
| Option | Description | 
|---|---|
| --config, -C | Specify an alternate config file [env EXOSCALE_CONFIG] | 
| --output-format, -O | Output format (table|json|text), see "exo output –help" for more information | 
| --output-template | Template to use if output format is "text" | 
| --quiet, -Q | Quiet mode (disable non-essential command output) | 
| --use-account, -A | Account to use in config file [env EXOSCALE_ACCOUNT] | 
Related Commands
- service - Manage Network Load Balancer services