Merge pull request #953 from wonderflow/svcd

deprecate unused vela commands
This commit is contained in:
Jianbo Sun
2021-01-29 13:48:31 +08:00
committed by GitHub
58 changed files with 112 additions and 814 deletions

View File

@@ -15,7 +15,6 @@ vela [flags]
### SEE ALSO
* [vela autoscale](vela_autoscale.md) - Attach autoscale trait to an app
* [vela cap](vela_cap.md) - Manage capability centers and installing/uninstalling capabilities
* [vela completion](vela_completion.md) - Output shell completion code for the specified shell (bash or zsh)
* [vela config](vela_config.md) - Manage configurations
@@ -27,14 +26,9 @@ vela [flags]
* [vela install](vela_install.md) - Install Vela Core with built-in capabilities
* [vela logs](vela_logs.md) - Tail logs for application
* [vela ls](vela_ls.md) - List services
* [vela metrics](vela_metrics.md) - Attach metrics trait to an app
* [vela port-forward](vela_port-forward.md) - Forward local ports to services in an application
* [vela rollout](vela_rollout.md) - Attach rollout trait to an app
* [vela route](vela_route.md) - Attach route trait to an app
* [vela scaler](vela_scaler.md) - Attach scaler trait to an app
* [vela show](vela_show.md) - Show details of an application
* [vela show](vela_show.md) - Show the reference doc for a workload type or trait
* [vela status](vela_status.md) - Show status of an application
* [vela svc](vela_svc.md) - Manage services
* [vela system](vela_system.md) - System management utilities
* [vela template](vela_template.md) - Manage templates
* [vela traits](vela_traits.md) - List traits
@@ -42,4 +36,4 @@ vela [flags]
* [vela version](vela_version.md) - Prints out build version information
* [vela workloads](vela_workloads.md) - List workloads
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -1,41 +0,0 @@
## vela autoscale
Attach autoscale trait to an app
### Synopsis
Attach autoscale trait to an app
```
vela autoscale <appname> [args]
```
### Examples
```
vela autoscale frontend
```
### Options
```
--cpu-percent int Specify the value for CPU utilization, like 80, which means 80%
--detach detach trait from service
-h, --help help for autoscale
--max int Maximal replicas of the workload
--min int Minimal replicas of the workload
-s, --staging only save changes locally without real update application
--svc string specify one service belonging to the application
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -26,4 +26,4 @@ Manage capability centers and installing/uninstalling capabilities
* [vela cap ls](vela_cap_ls.md) - List capabilities from cap-center
* [vela cap uninstall](vela_cap_uninstall.md) - Uninstall capability from cluster
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -26,4 +26,4 @@ Manage Capability Center with config, sync, list
* [vela cap center remove](vela_cap_center_remove.md) - Remove specified capability center
* [vela cap center sync](vela_cap_center_sync.md) - Sync capabilities from remote center, default to sync all centers
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela cap center config mycenter https://github.com/oam-dev/catalog/cap-center
* [vela cap center](vela_cap_center.md) - Manage Capability Center
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela cap center ls
* [vela cap center](vela_cap_center.md) - Manage Capability Center
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela cap center remove mycenter
* [vela cap center](vela_cap_center.md) - Manage Capability Center
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela cap center sync mycenter
* [vela cap center](vela_cap_center.md) - Manage Capability Center
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela cap install mycenter/route
* [vela cap](vela_cap.md) - Manage capability centers and installing/uninstalling capabilities
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela cap ls
* [vela cap](vela_cap.md) - Manage capability centers and installing/uninstalling capabilities
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela cap uninstall route
* [vela cap](vela_cap.md) - Manage capability centers and installing/uninstalling capabilities
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -27,4 +27,4 @@ of vela commands.
* [vela completion bash](vela_completion_bash.md) - generate autocompletions script for bash
* [vela completion zsh](vela_completion_zsh.md) - generate autocompletions script for zsh
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -36,4 +36,4 @@ vela completion bash
* [vela completion](vela_completion.md) - Output shell completion code for the specified shell (bash or zsh)
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela completion zsh
* [vela completion](vela_completion.md) - Output shell completion code for the specified shell (bash or zsh)
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -26,4 +26,4 @@ Manage configurations
* [vela config ls](vela_config_ls.md) - List configs
* [vela config set](vela_config_set.md) - Set data for a config
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela config del <config-name>
* [vela config](vela_config.md) - Manage configurations
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela config get <config-name>
* [vela config](vela_config.md) - Manage configurations
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela config ls
* [vela config](vela_config.md) - Manage configurations
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela config set <config-name> KEY=VALUE K2=V2
* [vela config](vela_config.md) - Manage configurations
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela delete frontend
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -26,4 +26,4 @@ Manage environments
* [vela env ls](vela_env_ls.md) - List environments
* [vela env set](vela_env_set.md) - Set an environment
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela env delete test
* [vela env](vela_env.md) - Manage environments
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -36,4 +36,4 @@ vela env init test --namespace test --email my@email.com
* [vela env](vela_env.md) - Manage environments
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela env ls [env-name]
* [vela env](vela_env.md) - Manage environments
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela env set test
* [vela env](vela_env.md) - Manage environments
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -16,6 +16,7 @@ vela exec [flags] APP_NAME -- COMMAND [args...]
-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)
-s, --svc string service name
-t, --tty Stdin is a TTY (default true)
```
@@ -29,4 +30,4 @@ vela exec [flags] APP_NAME -- COMMAND [args...]
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -27,4 +27,4 @@ vela export
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela init
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -17,6 +17,7 @@ vela install [flags]
--image-pull-policy string vela core image pull policy, this will align to chart value image.pullPolicy
--image-repo string vela core image repo, this will align to chart value image.repo
--image-tag string vela core image repo, this will align to chart value image.tag
-s, --set strings arguments for installing vela-core chart
-p, --vela-chart-path string path to vela core chart to override default chart
-w, --wait string wait until vela-core is ready to serve, default will not wait (default "0s")
```
@@ -31,4 +32,4 @@ vela install [flags]
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -27,4 +27,4 @@ vela logs [flags]
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela ls
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -1,43 +0,0 @@
## vela metrics
Attach metrics trait to an app
### Synopsis
Attach metrics trait to an app
```
vela metrics <appname> [args]
```
### Examples
```
vela metrics frontend
```
### Options
```
--detach detach trait from service
--enabled (default true)
-f, --format string Format of the metrics, default as prometheus (default "prometheus")
-h, --help help for metrics
--path string The metrics path of the service (default "/metrics")
--port int The port for metrics, will discovery automatically by default
--scheme http The way to retrieve data which can take the values http or `https` (default "http")
-s, --staging only save changes locally without real update application
--svc string specify one service belonging to the application
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -35,4 +35,4 @@ port-forward APP_NAME [options] [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMO
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -1,41 +0,0 @@
## vela rollout
Attach rollout trait to an app
### Synopsis
Attach rollout trait to an app
```
vela rollout <appname> [args]
```
### Examples
```
vela rollout frontend
```
### Options
```
--detach detach trait from service
-h, --help help for rollout
--interval string Schedule interval time (default "30s")
--replicas int Total replicas of the workload (default 2)
-s, --staging only save changes locally without real update application
--step-weight int Weight percent of every step in rolling update (default 50)
--svc string specify one service belonging to the application
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -1,40 +0,0 @@
## vela route
Attach route trait to an app
### Synopsis
Attach route trait to an app
```
vela route <appname> [args]
```
### Examples
```
vela route frontend
```
### Options
```
--detach detach trait from service
--domain string Domain name
-h, --help help for route
--issuer string
-s, --staging only save changes locally without real update application
--svc string specify one service belonging to the application
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -1,39 +0,0 @@
## vela scaler
Attach scaler trait to an app
### Synopsis
Attach scaler trait to an app
```
vela scaler <appname> [args]
```
### Examples
```
vela scaler frontend
```
### Options
```
--detach detach trait from service
-h, --help help for scaler
-r, --replicas int Replicas of the workload (default 1)
-s, --staging only save changes locally without real update application
--svc string specify one service belonging to the application
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -1,26 +1,26 @@
## vela show
Show details of an application
Show the reference doc for a workload type or trait
### Synopsis
Show details of an application
Show the reference doc for a workload type or trait
```
vela show APP_NAME [flags]
vela show [flags]
```
### Examples
```
vela show APP_NAME
show webservice
```
### Options
```
-h, --help help for show
-s, --svc string service name
-h, --help help for show
--web start web doc site
```
### Options inherited from parent commands
@@ -33,4 +33,4 @@ vela show APP_NAME
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -33,4 +33,4 @@ vela status APP_NAME
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -1,27 +0,0 @@
## vela svc
Manage services
### Synopsis
Manage services
### Options
```
-a, --app string specify the name of application containing the services
-h, --help help for svc
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela](vela.md) -
* [vela svc deploy](vela_svc_deploy.md) - Initialize and run a service
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -1,38 +0,0 @@
## vela svc deploy
Initialize and run a service
### Synopsis
Initialize and run a service. The app name would be the same as service name, if it's not specified.
```
vela svc deploy [args]
```
### Examples
```
vela svc deploy -t <SERVICE_TYPE>
```
### Options
```
-h, --help help for deploy
-s, --staging only save changes locally without real update application
-t, --type string specify workload type of the service
```
### Options inherited from parent commands
```
-a, --app string specify the name of application containing the services
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela svc](vela_svc.md) - Manage services
###### Auto generated by spf13/cobra on 9-Dec-2020

View File

@@ -21,6 +21,7 @@ System management utilities
### SEE ALSO
* [vela](vela.md) -
* [vela system dry-run](vela_system_dry-run.md) - Dry Run an application, and output the conversion result to stdout
* [vela system info](vela_system_info.md) - Show vela client and cluster chartPath
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -0,0 +1,36 @@
## vela system dry-run
Dry Run an application, and output the conversion result to stdout
### Synopsis
Dry Run an application, and output the conversion result to stdout
```
vela system dry-run
```
### Examples
```
vela dry-run
```
### Options
```
-f, --file string application file name (default "./app.yaml")
-h, --help help for dry-run
```
### Options inherited from parent commands
```
-e, --env string specify environment name for application
```
### SEE ALSO
* [vela system](vela_system.md) - System management utilities
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -26,4 +26,4 @@ vela system info [flags]
* [vela system](vela_system.md) - System management utilities
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -23,4 +23,4 @@ Manage templates
* [vela](vela.md) -
* [vela template context](vela_template_context.md) - Show context parameters
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -32,4 +32,4 @@ vela template context
* [vela template](vela_template.md) - Manage templates
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -19,6 +19,7 @@ vela traits
### Options
```
-r, -- Enforce refresh from cluster even if cache is not expired
--apply-to string Workload name
-h, --help help for traits
-s, --sync Synchronize capabilities from cluster into local (default true)
@@ -34,4 +35,4 @@ vela traits
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -27,4 +27,4 @@ vela up
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -26,4 +26,4 @@ vela version [flags]
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021

View File

@@ -19,6 +19,7 @@ vela workloads
### Options
```
-r, -- Enforce refresh from cluster even if cache is not expired
-h, --help help for workloads
-s, --sync Synchronize capabilities from cluster into local (default true)
```
@@ -33,4 +34,4 @@ vela workloads
* [vela](vela.md) -
###### Auto generated by spf13/cobra on 9-Dec-2020
###### Auto generated by spf13/cobra on 28-Jan-2021