Introduction
DevSpace is an open-source CLI that turns any repository into a ready-to-run Kubernetes dev environment. It reads a single devspace.yaml, builds your images, deploys manifests/Helm/Kustomize, starts file syncs, port-forwards, opens terminals, and streams merged logs — all from one command — and then redeploys on demand.
What DevSpace Does
- Builds images locally or remotely with BuildKit, Docker, or in-cluster buildpacks
- Deploys any mix of kubectl YAML, Helm charts, and Kustomize overlays with shared variables
- Live-syncs your source into running Pods so Node/Python/Go apps hot-reload
- Manages ephemeral dev namespaces and multi-developer isolation by default
- Scripts full workflows with pipelines — declarative equivalents of
make dev
Architecture Overview
DevSpace is a single Go binary. It parses devspace.yaml, compiles it against the live cluster state, and runs a controller loop that coordinates builds, deploys, file syncs, port-forwards, and log streams. File sync uses an embedded inotify-based binary injected into the target Pod via exec, with checksums for conflict resolution.
Self-Hosting & Configuration
devspace initscans your repo and writes a starter config- Profiles encode environment differences (dev/staging/prod) without forking the file
vars+envsupport.envfiles and secret referencespipelineslet you compose commands in a scripting DSL (run_pipelines,build_images)- Integrates with Loft for hosted, multi-tenant dev clusters
Key Features
- Hot reload without rebuilding containers via bi-directional file sync
- Ephemeral namespaces per developer keep environments clean and conflict-free
- Helm + Kustomize + raw YAML in the same config with shared variables
devspace openauto-opens ingress URLs- Telemetry-free by default; logs stay on your machine
Comparison with Similar Tools
- Tilt — Starlark config, strong dashboard; DevSpace leans on YAML + pipelines
- Skaffold — Google-maintained, similar goals, simpler live-sync story
- Okteto — hosted SaaS with great UX; DevSpace is fully self-hosted
- Telepresence — intercept-based; complements rather than competes with DevSpace
- Garden — broader dev-env tool including tests; heavier config surface
FAQ
Q: Does DevSpace require a daemon in the cluster? A: No. It exec's into Pods as needed. Cluster installs are optional.
Q: Can it deploy Helm umbrella charts? A: Yes — each deployment entry can be a Helm release with its own values.
Q: How are secrets handled?
A: vars can pull from the host env, 1Password, Vault, or any referenced file; nothing is committed by default.
Q: Is there a GUI? A: The CLI is primary; an optional web UI is available via the Loft platform.