mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-14 05:16:49 +00:00
33 lines
788 B
Markdown
33 lines
788 B
Markdown
## vela exec
|
|
|
|
Execute a command in a container
|
|
|
|
### Synopsis
|
|
|
|
Execute a command in the 1st container of specific Application => Service => (1st)Pod
|
|
|
|
```
|
|
vela exec [flags] AppName -- COMMAND [args...]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for exec
|
|
--pod-running-timeout duration The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running (default 1m0s)
|
|
-i, --stdin Pass stdin to the container (default true)
|
|
-t, --tty Stdin is a TTY (default true)
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
-e, --env string specify environment name for application
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [vela](vela.md) -
|
|
|
|
###### Auto generated by spf13/cobra on 6-Nov-2020
|