A Dagster run launcher that executes pipeline runs as Docker Swarm services
Project description
dagster-docker-swarm
A Dagster run launcher that executes pipeline runs as Docker Swarm services.
Installation
pip install dagster-docker-swarm
Configuration
Add to your dagster.yaml:
run_launcher:
module: dagster_docker_swarm
class: SwarmRunLauncher
config:
image: my-registry/my-dagster-image:latest
networks:
- my_dagster_network
env_vars:
- DAGSTER_POSTGRES_HOST
- DAGSTER_POSTGRES_DB
- DAGSTER_CURRENT_IMAGE
mounts:
- target: /data
source: shared_data
type: volume
Features
- Launches each Dagster run as an isolated Swarm service (replicas=1, restart=none)
- Run resume support for interrupted runs
- Health checking via Swarm task state inspection
- Automatic service cleanup on completion or failure
- Private registry authentication
- NFS and custom volume driver mounts
- Passthrough
service_kwargsfor advanced Swarm service configuration
Requirements
- Docker Swarm mode enabled (
docker swarm init) - Dagster daemon must have access to the Docker socket
DAGSTER_CURRENT_IMAGEenv var set on the daemon/webserver if not specifyingimagein config
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dagster_docker_swarm-0.1.2.tar.gz
(104.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dagster_docker_swarm-0.1.2.tar.gz.
File metadata
- Download URL: dagster_docker_swarm-0.1.2.tar.gz
- Upload date:
- Size: 104.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
923a3dd94e8d6efee001fa9f6bbb0b04f7ba0a0b5b8b2e58663da499277d0b6b
|
|
| MD5 |
64c4e1c821eb9f84cb256a9fc89bf42e
|
|
| BLAKE2b-256 |
d0e518299b10d4e900480814280f9865cbc06771d6f8c729f3b8a67d97a5b58a
|
File details
Details for the file dagster_docker_swarm-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dagster_docker_swarm-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3735b0b7c2188a94db293d2c5fa8bf7f1c57dd9f4b166b00c86e8bbc3860dbfe
|
|
| MD5 |
edeada579a1e7e5da8d0f49dc43e9b5d
|
|
| BLAKE2b-256 |
ec7332d41dc92d949bf85b8119a9440e64f25805962f32d3c167d86c9e822b58
|