Update README.md

This commit is contained in:
Sun Jianbo
2020-08-18 16:54:31 +08:00
committed by 天元
parent eb38931b02
commit 442cb11415
2 changed files with 3 additions and 51 deletions
+3 -51
View File
@@ -16,57 +16,9 @@ mv bin/vela /usr/local/bin
## Vela commands
#### help
```shell script
$ vela -h
✈️ A Micro App Plafrom for Kubernetes.
Usage:
vela [flags]
vela [command]
Available Commands:
Getting Started:
env List all environments
env:delete Delete environment
env:init Create environment and switch to it
env:sw switch to another environment
version Prints out build version information
Applications:
app:delete [APPLICATION_NAME] Delete OAM Applications
app:ls List applications with workloads, traits, status and created time
app:status get status of an application, including its workload and trait
Workloads:
containerized:run <appname> [args] Run containerized workloads
deployment:run <appname> [args] Run deployment workloads
Traits:
scale <appname> [args] Attach manualscaler trait to an app
scale:detach <appname> Detach manualscaler trait from an app
rollout <appname> [args] Attach rollout trait to an app
rollout:detach <appname> Detach rollout trait from an app
route <appname> [args] Attach route trait to an app
route:detach <appname> Detach route trait from an app
Release:
Others:
addon:config Set the addon center, default is local (built-in ones)
addon:ls List addons of workloads and traits
System:
completion [bash|zsh] Output shell completion code for the specified shell (bash or zsh...
refresh Refresh and sync definition files from cluster
system:info show vela client and cluster version
system:init [flags] Install OAM runtime and vela builtin capabilities.
Use "vela [command] --help" for more information about a command.
```
### Click the picture to watch the video
[![POC Video](./resources/vela-help.jpg)](https://oam-budao.oss-cn-beijing.aliyuncs.com/Vela%20First%20PoC.mp4 "POC video")
#### env
```
@@ -188,4 +140,4 @@ customresourcedefinition.apiextensions.k8s.io "traitdefinitions.core.oam.dev" de
```shell script
$ rm -r ~/.vela
```
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB