Skip to content

Helm Chart for setting up autoscaling Dask cluster on Kubernetes

License

Notifications You must be signed in to change notification settings

VMois/dask-k8s-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helm Chart for setting up auto-scaling Dask cluster on Kubernetes

Currently, under active development. Not suitable for production use!

Description

The Helm chart for simple and fast setup of auto-scaling Dask cluster on Kubernetes.

This project is created with help of:

How it works

The chart will set up a Kubernetes deployment with a single pod called scheduler with permissions to create other pods in the default namespace. The chart is using docker images from this repo. The scheduler will have two ports exposed:

  • 8786 for client connections
  • 8787 for web dashboard

By default, the scheduler pod will launch 1 worker pod. A worker will automatically connects to the scheduler.

To check external IP address of the scheduler in Kubernetes use:

$ kubectl get services

Now, you can use this address and connect to the scheduler. After that you can refer to Dask Distributed docs to perform computations. The scheduler will automatically scale worker pods according to CPU and memory usage.

Use cases

Later...

How to setup

  1. Install Helm on your Kubernetes cluster

  2. Clone the repo:

git clone https://github.com/VMois/dask-k8s-chart.git
  1. Install chart:
helm install dask-k8s-chart/ --name RELEASE_NAME

How to customize

Later...

Contributions

Any fixes, suggestions and improvements are welcome. Don't hesitate to open an issue, your help is very important)

Possible ideas for contributions:

  • write detailed configuration tutorial
  • test cluster stability

Thank you!