View

Learn how to inspect a worker.

Command

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

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
worker.hostnamehostname of the workerVELA_WORKER_HOSTNAME, WORKER_HOSTNAME
worker.registration.tokengenerate a registration token for the worker (requires Vela Platform Admin)VELA_WORKER_REGISTRATION_TOKEN, WORKER_REGISTRATION_TOKEN
outputformat the output for the repositoryVELA_OUTPUT, WORKER_OUTPUT

Permissions

COMING SOON!

Sample

Request

$ vela view worker --worker.hostname MyWorker

Response

id: 1
hostname: MyWorker
address: myworker.example.com
routes:
- vela
active: true
status: busy
laststatusupdatedat: 1681487969
runningbuildids:
- 123
lastbuildstartedat: 1681487969
lastbuildfinishedat: 1681487969
lastcheckedin: 1681487969
buildlimit: 1