Linux command
vela 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Deploy application
vela up -f [app.yaml]
Show application status
vela status [appname]
List applications
vela ls
Delete application
vela delete [appname]
Show logs
vela logs [appname]
Port-forward
vela port-forward [appname]
Execute command
vela exec [appname] -- [command]
Install KubeVela
vela install
说明
vela is the command-line client for KubeVela, an application delivery platform built on the Open Application Model (OAM). It manages the full lifecycle of applications on Kubernetes, from deployment and scaling to monitoring and rollback. Applications are defined with components, traits, and policies that abstract away infrastructure complexity. The platform supports multi-cluster deployment, allowing applications to be distributed across different Kubernetes clusters and cloud providers from a single definition.
参数
- up
- Create or update an application from file or URL.
- status
- Show application status and health.
- ls
- List all applications.
- delete
- Remove an application.
- logs
- View application logs.
- exec
- Execute a command in an application container.
- port-forward
- Forward local ports to an application container or service.
- install
- Install KubeVela on a Kubernetes cluster.
- show
- Show reference documentation for components, traits, or workflow types.
- components
- List available component types.
- workflow
- Operate application delivery workflows (suspend, resume, restart, rollback).
- version
- Print version information.
- -n, --namespace _NAMESPACE_
- Specify the namespace scope for the request.
- -e, --env _ENV_
- Specify environment name for the application.
- -y, --yes
- Assume yes for all prompts.
FAQ
What is the vela command used for?
vela is the command-line client for KubeVela, an application delivery platform built on the Open Application Model (OAM). It manages the full lifecycle of applications on Kubernetes, from deployment and scaling to monitoring and rollback. Applications are defined with components, traits, and policies that abstract away infrastructure complexity. The platform supports multi-cluster deployment, allowing applications to be distributed across different Kubernetes clusters and cloud providers from a single definition.
How do I run a basic vela example?
Run `vela up -f [app.yaml]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does up do in vela?
Create or update an application from file or URL.