← 返回命令列表

Linux command

devspace 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Initialize a project

devspace init

Deploy to Kubernetes

devspace deploy

Start development mode

devspace dev

Open terminal in container

devspace enter

View logs

devspace logs

Run a command in container

devspace run [command]

Purge deployment

devspace purge

说明

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.

FAQ

What is the devspace command used for?

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.

How do I run a basic devspace example?

Run `devspace init` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more devspace examples?

This page includes 7 examples for devspace, plus related commands for nearby Linux tasks.