DockerExecutorOptions¶
kedro_dagster.config.models.DockerExecutorOptions
¶
Bases: MultiprocessExecutorOptions
Options for the Docker-based executor.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
retries
|
RetriesEnableOptions or RetriesDisableOptions
|
Retry configuration for the executor. |
required |
max_concurrent
|
int or None
|
Maximum number of concurrent processes. |
required |
image
|
str or None
|
Docker image to use. |
required |
network
|
str or None
|
Name of the network to connect the container at creation time. |
required |
registry
|
dict[str, str] or None
|
Information for using a non local/public docker registry. |
required |
env_vars
|
list[str]
|
Environment variables for the container. |
required |
container_kwargs
|
dict[str, Any] or None
|
Key-value pairs for |
required |
networks
|
list[str]
|
Names of the networks to connect the container at creation time. |
required |
Examples¶
executors:
docker_exec:
docker_executor:
image: "myrepo/app:latest"
max_concurrent: 3
env_vars: ["ENV=prod", "LOG_LEVEL=INFO"]
jobs:
docker_job:
pipeline:
pipeline_name: batch_pipeline
executor: docker_exec
See Also¶
kedro_dagster.config.models.MultiprocessExecutorOptions :
Base class providing concurrency and retry settings.
kedro_dagster.dagster.ExecutorCreator :
Builds Dagster executor definitions from these options.