Get
Learn how to list workers.
Command
$ vela get workers <parameters...> <arguments...>
For more information, you can run
vela get workers --help
.Parameters
The following parameters are used to configure the command:
Name | Description | Environment Variables |
---|---|---|
output | format the output for the workers | VELA_OUTPUT , WORKER_OUTPUT |
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
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
Last modified April 26, 2023: feat(worker): add worker commands (#362) (596adba5)