DevSpace — Developer-First Kubernetes Workflow Tool
CLI that turns any repo into a Kubernetes dev environment: build, deploy, port-forward, file-sync, and log-stream from a single devspace.yaml.
What it is
DevSpace is an open-source CLI tool that transforms any code repository into a Kubernetes development environment. It handles image building, deployment, port-forwarding, file synchronization, and log streaming from a single devspace.yaml configuration file.
The tool targets developers who work with Kubernetes daily and want to iterate faster without manually running kubectl commands, rebuilding images, and restarting pods. It supports Helm charts, Kustomize, and raw manifests.
How it saves time or tokens
DevSpace replaces a multi-step workflow of building Docker images, pushing to a registry, updating deployments, setting up port-forwards, and tailing logs with a single devspace dev command. File sync means code changes appear in the running container without a full image rebuild, cutting iteration cycles from minutes to seconds.
The profile system lets you reuse the same configuration across development, staging, and production with environment-specific overrides.
How to use
- Install DevSpace with
brew install devspaceornpm install -g devspace. - Run
devspace initin your project to generate adevspace.yamlconfiguration. - Run
devspace devto start the full development loop: build, deploy, port-forward, sync, and log streaming.
Example
# Install DevSpace
brew install devspace
# Initialize in your project
devspace init
# Start the dev loop
devspace dev
# Open a shell in the running container
devspace enter
# Deploy to production with a profile
devspace deploy -p production
# Clean up resources
devspace purge
Related on TokRepo
- DevOps tools -- Kubernetes and infrastructure development tools
- Automation tools -- CLI tools for development workflow automation
Common pitfalls
- DevSpace requires a running Kubernetes cluster. For local development, use minikube, kind, or Docker Desktop with Kubernetes enabled before running
devspace dev. - File sync watches for changes and copies files into the container. Large repositories with many files can cause high CPU usage during the initial sync. Use the
excludePathsoption to skip node_modules, .git, and build artifacts. - The
devspace initwizard detects your project type automatically, but the generated configuration may need manual tuning for monorepo setups or projects with multiple services.
Frequently Asked Questions
Yes. DevSpace works with any standard Kubernetes cluster including minikube, kind, EKS, GKE, AKS, and self-managed clusters. It uses your current kubectl context, so point your kubeconfig to the target cluster and DevSpace connects automatically.
Both tools automate the build-deploy-watch loop for Kubernetes. DevSpace focuses more on the developer experience with built-in file sync, terminal UI, and profile-based configuration. Skaffold integrates more tightly with Google Cloud. DevSpace supports hot-reloading via file sync without image rebuilds, while Skaffold primarily uses image rebuilds.
Yes. DevSpace natively supports Helm charts, Kustomize overlays, kubectl manifests, and its own component chart format. You specify the deployment method in devspace.yaml and DevSpace handles the rest.
File sync copies source files into the container. For compiled languages like Go or Java, you still need a build step inside the container. DevSpace supports configuring a restart command that triggers after synced files change, so you can automate recompilation.
Yes. DevSpace has a non-interactive mode suitable for CI/CD. Use `devspace deploy` instead of `devspace dev` in pipelines. The profile system lets you define separate configurations for CI environments with different image tags, registries, and resource limits.
Citations (3)
- DevSpace GitHub— DevSpace is an open-source Kubernetes developer tool
- DevSpace Documentation— Supports Helm, Kustomize, and raw manifests
- DevSpace Dev Mode Docs— File sync and hot-reloading for Kubernetes development
Related on TokRepo
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.