1. Tasks
  2. Virtual Worker Warmup

Tasks

Virtual Worker Warmup

Starts and warms up a virtual worker so it is ready for later use

See virtual-worker concept and virtual_worker_send_commands task for more details.

Basic usage

This task just starts and warms up a virtual worker. It does not execute any commands. The only parameter supported is params.runtime, which controls where and how the worker is created.

loading...

Parameters

runtime
Object
required

Defines the execution settings for the virtual worker that will be started. This task only uses params.runtime — there are no commands to be executed by this task.

Show child attributes
cluster
Object
Show child attributes
name
string
optional

The name of the cluster where the virtual worker will be executed.

Default: stubber_k8s_cluster

worker
Object

Defines settings for the containerized virtual worker.

Show child attributes
name
string
optional

The name of the virtual worker to use for executing the commands.
Can be used to run commands on a specific container inside the cluster.

Default: {{stub.stubref}}

worker_spec
Object
Show child attributes
idle_timeout_minutes
number
optional

The number of minutes the virtual worker will remain idle before automatically shutting down.

Default: 20 minutes


Returns

loading...