Add

Learn how to add a worker (Vela Platform Admins only).

Command

$ vela add worker <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
worker.addressaddress of the workerVELA_WORKER_ADDRESS, WORKER_ADDRESS
worker.hostnamehostname of the workerVELA_WORKER_HOSTNAME, WORKER_HOSTNAME
outputformat the output for the workerVELA_OUTPUT, WORKER_OUTPUT

Permissions

Vela Platform Admin

Sample

Request

$ vela add worker --worker.address myworker.example.com

Response generated from successful CLI command

worker registered successfully

Examples

EXAMPLES:
  1. Add a worker reachable at the provided address.
    $ vela add worker --worker.address myworker.example.com
  2. Add a worker with the provided hostname and reachable at the address given.
    $ vela add worker --worker.hostname MyWorker --worker.address myworker.example.com