This page is not available in every language. Missing translations are disabled in the language selector.

Quick reference

Deis Workflow PaaS Cheat Sheet

An archival quick reference guide for Deis, the open-source Kubernetes-based PaaS: application deployment, config variables, process scaling, domains, and SSL.

· Published

[!NOTE] Deis Workflow is a legacy open-source PaaS that ran on top of Kubernetes, providing a Heroku-like workflow.

Deploying Applications

# Create application and push git repository
deis create my-app
git push deis main
deis open

# Deploy from a pre-built Docker image
deis create my-app
deis pull redis:latest

Configuration & Environment Variables

# View all configuration variables
deis config:list

# Set and unset environment variables
deis config:set DATABASE_URL="postgres://..." SECRET_KEY="xyz"
deis config:unset UNUSED_VAR

# Pull to local .env file or push .env to server
deis config:pull
deis config:push

Process Management & Scaling

# Scale process types
deis scale web=4 worker=2

# View real-time cluster logs
deis logs

# Run ad-hoc tasks in one-off containers
deis run "rake db:migrate"

# View running container processes
deis ps

Custom Domains & SSL

# Manage routing domains
deis domains:list
deis domains:add www.example.com
deis domains:remove www.example.com

# Attach custom SSL certificates
deis certs:add server.crt server.key
deis certs:attach server www.example.com

Resource Limits

# Configure CPU and memory constraints per process type
deis limits:set web=1G
deis limits:set web=1024 --cpu

Related topics