LinuxCommandLibrary

devspace

Kubernetes developer tool with hot reloading

TLDR

Initialize a project

$ devspace init
copy
Deploy to Kubernetes
$ devspace deploy
copy
Start development mode
$ devspace dev
copy
Open terminal in container
$ devspace enter
copy
View logs
$ devspace logs
copy
Run a command in container
$ devspace run [command]
copy
Purge deployment
$ devspace purge
copy

SYNOPSIS

devspace command [options]

DESCRIPTION

devspace is a Kubernetes developer tool for building, deploying, and developing applications. It provides hot reloading, log streaming, and terminal access during development.
The tool simplifies Kubernetes development by automating common tasks like building container images, deploying manifests, and syncing code changes. DevSpace watches for local file changes and automatically syncs them to running containers, enabling rapid iteration without rebuilding images.
Configuration is defined in devspace.yaml, specifying images, deployments, dev configurations, and custom commands. The tool supports Helm charts, kubectl manifests, and Kustomize.

CONFIGURATION

devspace.yaml

Main configuration file defining images, deployments, dev settings, and pipelines.

SUBCOMMANDS

init

Initialize DevSpace configuration.
deploy
Deploy the application.
dev
Start development mode with hot reloading.
enter
Open terminal in container.
logs
View container logs.
run
Run a predefined command.
purge
Delete deployed resources.
ui
Open DevSpace UI in browser.

CAVEATS

Requires kubectl and access to a Kubernetes cluster. Hot reload performance depends on file sync mechanism. Initial deployment may be slow for large images.

SEE ALSO

kubectl(1), skaffold(1), tilt(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community