You are viewing the docs for v1.3, which is not the latest release.
View latest

Configure Worker Group Fallback Behavior for Unhealthy Workers

For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

Fallback on unhealthy workers

Migrating usage of worker group keys

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, set the fallback behavior to FAIL:

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

To set a custom workerGroup key and behavior per plugin type and/or namespace, use pluginDefaults.