dagster-k8s
A Dagster integration for k8s
What it is and what it does
dagster-k8s is a Dagster integration that runs Dagster asset definitions and jobs on Kubernetes infrastructure. It bridges Dagster's declarative asset model—where you define data pipelines as Python functions—with Kubernetes' container orchestration, allowing you to scale asset execution across a k8s cluster. The package depends on dagster (the core orchestrator), google-auth (for credential handling), and kubernetes (the Python client library), and is designed for teams deploying Dagster in containerized environments.
The integration lets you configure how your assets run on k8s with resource specifications and executor settings. It is part of the broader Dagster ecosystem, which provides observability, lineage tracking, and a web UI for monitoring asset health and dependencies. This is most useful when your data infrastructure already runs on Kubernetes or when you need the scalability and isolation that k8s provides.
Use it for:
- Run Dagster asset jobs on Kubernetes clusters instead of local or single-machine executors.
- Scale data pipeline execution across multiple k8s nodes for parallel asset computation.
- Deploy Dagster in containerized environments where k8s is the standard orchestration layer.
- Isolate asset execution in separate k8s pods for resource control and fault isolation.
- Integrate Dagster with existing k8s-based data infrastructure and CI/CD pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Dagster data pipeline orchestration with Kubernetes, enabling declarative asset management and orchestration on k8s infrastructure.
Yes, if you are already using Dagster and deploying on Kubernetes. The package is actively maintained with no known vulnerabilities and low install friction. It is the standard way to run Dagster jobs on k8s. Install only if you have a running k8s cluster and need Dagster's orchestration on that infrastructure; otherwise, use Dagster's local or other executor options.
Install
dagster-k8s on PyPI
pip
pip install dagster-k8suv
uv add dagster-k8spoetry
poetry add dagster-k8sInstalling dagster-k8s
Before you install
Active maintenance with a release 7 days old. Low install friction: pure Python wheel with three runtime dependencies (dagster, google-auth, kubernetes). Widely used in the top 5000 PyPI packages tier.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for infrastructure tools in this ecosystem.
Quickstart
pip install dagster-k8s
import dagster_k8s
from dagster import asset, define_asset_job
@asset
def my_asset():
return data
my_job = define_asset_job("k8s_job")
Requires a running Kubernetes cluster and kubeconfig configured; google-auth and kubernetes client libraries must be able to authenticate to the cluster.
Verify before relying
- Specific Kubernetes versions or API compatibility requirements beyond Python 3.10–3.14.
- Whether dagster-k8s handles multi-tenant or namespace isolation out of the box.
- Performance characteristics and resource overhead for typical workloads on k8s.
- Exact executor configuration options and resource specification capabilities.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — dagster, google-auth, kubernetes |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,871,063/month — #2,020 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dagster_k8s-0.29.17-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
dagster-celery-k8sIntegrates Dagster data orchestration with…
permissive · top 5,000 on PyPI
dagsterDagster is a data pipeline orchestrator that…
permissive · top 5,000 on PyPI
dagster-cloud-cliCLI tool for managing and deploying Dagster…
permissive · top 5,000 on PyPI
dagster-webserverProvides a web UI for Dagster, a data pipeline…
permissive · top 5,000 on PyPI
dagster-dockerIntegrates Dagster data orchestration with…
permissive · top 5,000 on PyPI
dagster-awsDagster-aws provides AWS-specific integrations…
permissive · top 5,000 on PyPI
dagster-dg-coredagster-dg-core provides the core orchestration…
permissive · top 5,000 on PyPI
dagster-rest-resourcesProvides REST API resource integrations for…
permissive · top 15,000 on PyPI
dagster-sparkDagster-spark integrates Apache Spark with…
permissive · top 15,000 on PyPI
dagster-pysparkIntegrates PySpark with Dagster's data pipeline…
permissive · top 15,000 on PyPI