Skip to main content
版本:v1.1

安装 kubectl 插件

安装 vela kubectl 插件可以帮助你更简单的交付云原生应用!

安装

你可以通过以下方式安装 kubectl vela

  1. 安装并且设置 krew
  2. 更新 kubectl 插件列表:
    kubectl krew update
  3. 安装 kubectl vela:
    kubectl krew install vela

使用

$ kubectl vela -h
A Highly Extensible Platform Engine based on Kubernetes and Open Application Model.

Usage:
kubectl vela [flags]
kubectl vela [command]

Available Commands:

Flags:
-h, --help help for vela

dry-run Dry Run an application, and output the K8s resources as
result to stdout, only CUE template supported for now
live-diff Dry-run an application, and do diff on a specific app
revison. The provided capability definitions will be used
during Dry-run. If any capabilities used in the app are not
found in the provided ones, it will try to find from
cluster.
show Show the reference doc for a workload type or trait
version Prints out build version information


Use "kubectl vela [command] --help" for more information about a command.