Files
kubevela/docs/cli/vela_exec.md
2020-11-06 19:23:01 +08:00

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