Skip to main content

Dagster & Kubernetes

About this integration

The dagster-k8s integration library provides the PipesK8sClient resource, enabling you to launch Kubernetes pods and execute external code directly from Dagster assets and ops. This integration allows you to pass parameters to Kubernetes pods while Dagster receives real-time events, such as logs, asset checks, and asset materializations, from the initiated jobs. With minimal code changes required on the job side, this integration is both efficient and easy to implement.

Installation

pip install dagster-k8s

Example

Loading...

Deploying to Kubernetes?

  • Deploying to Dagster+: Use with a Dagster+ Hybrid deployment, the Kubernetes agent executes Dagster jobs on a Kubernetes cluster. Checkout the Dagster+ Kubernetes Agent guide for more information.
  • Deploying to Open Source: Visit the Deploying Dagster to Kubernetes guide for more information.

About Kubernetes

Kubernetes is an open source container orchestration system for automating software deployment, scaling, and management. Google originally designed Kubernetes, but the Cloud Native Computing Foundation now maintains the project.