Install Prefect on Kubernetes

How to install Prefect on Kubernetes with Helm

Prefect screenshot

Prefect Workflow orchestration for Python

24,011 GitHub stars

Installation with Helm

Install Prefect in your Kubernetes cluster with Helm, the Kubernetes package manager.

Prerequisites

Install and configure these tools first:

  • Kubernetes: a cluster on your machine or at a public cloud provider
  • kubectl: configured to connect to your Kubernetes cluster
  • Helm: to install and manage Kubernetes applications like Prefect
  • Kubernetes Ingress controller: to reach the installation on a URL

Helm chart repository

Add the repository that holds the Prefect Helm chart:

helm repo add prefect https://prefecthq.github.io/prefect-helm
helm repo update
helm search repo prefect-server

Namespace (optional)

Create a namespace for Prefect, so it runs apart from your other applications:

kubectl create namespace prefect

Chart installation

Install Prefect from the "prefect-server" Helm chart:

helm install prefect prefect/prefect-server --namespace prefect --create-namespace

Verification

Check that the Prefect pods are running:

kubectl get pods --namespace prefect
kubectl get all --namespace prefect

Configuration (optional)

To change the configuration, copy the chart's values.yaml file, edit the options you need and pass the file to Helm:

helm install prefect prefect/prefect-server --values values.yaml --namespace prefect

Access

How you reach Prefect depends on the service type you chose: LoadBalancer, NodePort or Ingress. Ingress needs an Ingress controller running in your cluster.

Follow the instructions in the notes that helm install prints.

Managed Prefect pricing

We can install Prefect for you. Fully managed, with a 14 day free trial and a 100% money back guarantee

Standard

€49 / month

Hosting

  • Private instance
  • Cloud native
  • Hosted in Amsterdam (EU)
  • Always up to date
  • 24/7 monitoring and logging
  • Redundant backups
  • Automatic backup export
  • Custom domain with SSL

Resources

  • 1 CPU & 2GB memory
  • Burst
  • 25GB storage

Support

  • Ticket/Email support
  • Initial data migration
  • Standard SLA included

Extras

  • Private networking (optional)
Start free trial

Premium

€99 / month

Hosting

  • Private instance
  • Cloud native
  • Hosted in Amsterdam (EU)
  • Always up to date
  • 24/7 monitoring and logging
  • Redundant backups
  • Automatic backup export
  • Custom domain with SSL

Resources

  • 2 CPU & 4GB memory
  • Burst
  • 100GB storage

Support

  • Live chat support
  • Initial data migration
  • Standard SLA included

Extras

  • Single Sign-On integrations
  • Custom plugins
  • Private networking (optional)
Start free trial

Custom

starts at €199 / month

Hosting

  • Private instance
  • Cloud native
  • Hosted in Amsterdam (EU)
  • Always up to date
  • 24/7 monitoring and logging
  • Redundant backups
  • Automatic backup export
  • Custom domain with SSL

Resources

  • 3 CPU & 6GB memory
  • Burst
  • 200GB storage

Support

  • Phone support
  • Initial data migration
  • Standard SLA included

Extras

  • Single Sign-On integrations
  • Custom plugins
  • Horizontal autoscaling
  • Private networking (optional)
  • Private nodes (optional)
  • Your own cloud platform (BYOC)
  • Extra requirements
Contact us

Add-ons

Extra 1 CPU & 2GB memory 25 EUR per month
Extra 100GB storage (files, database, logs and backups) 25 EUR per month
Private networking, your own IP address or tunnels 99 EUR per month
Private nodes, 1 CPU & 2GB memory (Custom only) 50 EUR per month
Premium SLA: 99.95% uptime, 4-hour P1 response, 14 days of backups 99 EUR per month, plus 10% of the monthly price above 1,000 EUR
Enterprise SLA: 99.99% uptime (multiple replicas), 2-hour P1 response 24/7, 30 days of backups 499 EUR per month, plus 20% of the monthly price above 5,000 EUR

Annual Get 2 months for free, 17% discount on a yearly Standard or Premium plan!

Custom and Enterprise: 5% off a 1-year contract, 10% off 2 years or longer, paid per year.

Monthly plans can be cancelled at any time, no commitment.