Skip to main content

Get

Command

$ vela get workers <parameters...> <arguments...>
tip

For more information, you can run vela get workers --help.

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
outputformat the output for the workersVELA_OUTPUT, WORKER_OUTPUT
tip

This command also supports setting the following parameters via a configuration file:

  • output

For more information, please review the CLI config documentation.

Permissions

COMING SOON!

Sample

warning

This section assumes you have already installed and setup the CLI.

To install the CLI, please review the installation documentation.

To setup the CLI, please review the authentication documentation.

Request

$ vela get workers

Response generated from successful CLI command

HOSTNAME	ACTIVE	ROUTES	LAST_CHECKED_IN
MyWorker1 true [vela] 1681485812
MyWorker2 true [vela] 1681485814

Examples

EXAMPLES:
1. Get a list of workers.
$ vela get worker
2. Get a list of workers with wide view output.
$ vela get worker --output wide
3. Get a list of workers with yaml output.
$ vela get worker --output yaml
4. Get a list of workers with json output.
$ vela get worker --output json
5. Get a list of workers when config or environment variables are set.
$ vela get worker