Skip to content

robertmcleod2/dagster-kubernetes-deployment

Repository files navigation

dagster-kubernetes-deployment

An example dagster deployment in Azure using kubernetes. The project is a simple example of how to deploy a dagster pipeline to a kubernetes cluster in Azure. The kubernetes cluster is deployed in a CI/CD pipeline to Azure using a Helm chart.

Local setup

To set up and run the project locally, follow these steps:

  1. Clone the repository
git clone https://github.com/robertmcleod2/dagster-deployment.git
cd dagster-deployment
  1. create a virtual environment with python version 3.12. For Conda:
conda create -n dagster-deployment python=3.12
conda activate dagster-deployment
  1. Set up your local environment variables. Create a .env file in the root directory of the project, following the template in the .env_template file

  2. Install the required packages. ADO_TOKEN can be found in the .env file

pip install uv
set UV_INDEX_ADO_PASSWORD=<ADO_TOKEN>
uv pip install -e ".[dev]"
  1. start the Dagster webserver:
dagster dev

The dagster webserver will be available at http://localhost:3000

Future Work

  • Add a DNS name to the Kubernetes cluster
  • Add an example forecasting model to the dagster pipeline

About

A practice dagster kubernetes deployment into Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published