Worker

YAML keys for worker block

The worker key is intended to be used to route a build to a specific worker pool of workers available with the Vela queue.

---
# This document is displaying all the available keys
# and routing the build to a specific worker "sm:docker".
worker:
  flavor: sm
  platform: docker

Keys

KeyRequiredTypeDescription
flavorNstringIndicates what flavor of a worker. (i.e. sm, m, lg)
platformNstringIndicates the platform of a worker. (i.e. docker, k8s)

Usage

The flavor: key

---
worker:
  # indicates what flavor of worker (i.e. sm, m, lg). If not specified
  # will be scheduled in the generic "vela" queue.
  flavor: sm

The platform: key

---
worker:
  # Indicates the platform of worker (i.e. docker, k8s). If not specified
  # will be scheduled in the generic "vela" queue.
  platform: docker