mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
833 B
Plaintext
42 lines
833 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# devspace
|
|
|
|
> Develop, deploy, and debug applications inside Kubernetes.
|
|
> More information: <https://www.devspace.sh/docs/cli>.
|
|
|
|
- Initialize a new DevSpace project in the current directory:
|
|
|
|
`devspace init`
|
|
|
|
- Start development mode with port forwarding, file synchronization, and terminal access:
|
|
|
|
`devspace dev`
|
|
|
|
- Start development mode in a specific namespace:
|
|
|
|
`devspace dev {{[-n|--namespace]}} {{namespace}}`
|
|
|
|
- Deploy the project to Kubernetes:
|
|
|
|
`devspace deploy`
|
|
|
|
- Deploy the project with a specific profile:
|
|
|
|
`devspace deploy {{[-p|--profile]}} {{profile-name}}`
|
|
|
|
- Build all defined images:
|
|
|
|
`devspace build`
|
|
|
|
- Follow logs from a pod:
|
|
|
|
`devspace logs {{[-f|--follow]}}`
|
|
|
|
- Open the DevSpace UI in the browser:
|
|
|
|
`devspace ui`
|