Available on: Enterprise Edition

Release: 0.20.0

Migrating usage of worker group keys

Overview

By default, a task configured to run on a worker group where no workers are available will wait for the worker to be available. The previous behavior was to fail.

This behavior is configurable. To keep the previous behavior, simply set the fallback behavior to FAIL as follows:

yaml
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: Hello World!
    workerGroup:
      key: wg1
      fallback: FAIL #  possible values are WAIT (default), FAIL or CANCEL

If you want to set a custom workerGroup key and behavior per plugin type and/or namespace, you can leverage pluginDefaults.

Was this page helpful?