diff --git a/docs/cli/vela.md b/docs/cli/vela.md index 4cf71b3a1..18bead49e 100644 --- a/docs/cli/vela.md +++ b/docs/cli/vela.md @@ -19,6 +19,7 @@ vela [flags] ### SEE ALSO +* [vela autoscale](vela_autoscale.md) - Attach autoscale trait to an app * [vela cap](vela_cap.md) - Capability Management * [vela completion](vela_completion.md) - Output shell completion code for the specified shell (bash or zsh) * [vela config](vela_config.md) - Manage application configurations @@ -30,7 +31,10 @@ vela [flags] * [vela install](vela_install.md) - Initialize vela on both client and server * [vela logs](vela_logs.md) - Tail logs for application * [vela ls](vela_ls.md) - List services +* [vela metric](vela_metric.md) - Attach metric trait to an app * [vela port-forward](vela_port-forward.md) - Forward one or more local ports to a Pod of a service in an application +* [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) - Get details of an application * [vela status](vela_status.md) - get status of an application * [vela svc](vela_svc.md) - Manage services diff --git a/docs/cli/vela_autoscale.md b/docs/cli/vela_autoscale.md new file mode 100644 index 000000000..8bb8bc88f --- /dev/null +++ b/docs/cli/vela_autoscale.md @@ -0,0 +1,47 @@ +## vela autoscale + +Attach autoscale trait to an app + +### Synopsis + +Attach autoscale trait to an app + +``` +vela autoscale [args] +``` + +### Examples + +``` +vela autoscale frontend +``` + +### Options + +``` + --days string + --detach detach trait from service + --duration string + -h, --help help for autoscale + --maxReplicas int (default 4) + --minReplicas int (default 1) + --name string + --replicas string (default "2") + -s, --staging only save changes locally without real update application + --startAt string + --svc string specify one service belonging to the application + --timezone string (default "Asia/Shanghai") + --type string (default "cron") +``` + +### 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 diff --git a/docs/cli/vela_metric.md b/docs/cli/vela_metric.md new file mode 100644 index 000000000..0be5898ca --- /dev/null +++ b/docs/cli/vela_metric.md @@ -0,0 +1,43 @@ +## vela metric + +Attach metric trait to an app + +### Synopsis + +Attach metric trait to an app + +``` +vela metric [args] +``` + +### Examples + +``` +vela metric 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 metric + --path string the metric path of the service (default "/metrics") + --port int the port for metrics, will discovery automatically by default + --scheme string (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 6-Nov-2020 diff --git a/docs/cli/vela_route.md b/docs/cli/vela_route.md new file mode 100644 index 000000000..58e1508cf --- /dev/null +++ b/docs/cli/vela_route.md @@ -0,0 +1,40 @@ +## vela route + +Attach route trait to an app + +### Synopsis + +Attach route trait to an app + +``` +vela route [args] +``` + +### Examples + +``` +vela route frontend +``` + +### Options + +``` + --detach detach trait from service + --domain string + -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 6-Nov-2020 diff --git a/docs/cli/vela_scaler.md b/docs/cli/vela_scaler.md new file mode 100644 index 000000000..825c1bd8a --- /dev/null +++ b/docs/cli/vela_scaler.md @@ -0,0 +1,39 @@ +## vela scaler + +Attach scaler trait to an app + +### Synopsis + +Attach scaler trait to an app + +``` +vela scaler [args] +``` + +### Examples + +``` +vela scaler frontend +``` + +### Options + +``` + --detach detach trait from service + -h, --help help for scaler + -r, --replica int (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 6-Nov-2020