Skip to main content
版本:预览版

vela def list

List definitions.

Synopsis

List definitions in kubernetes cluster.

vela def list [flags]

Examples

# Command below will list all definitions in all namespaces
> vela def list
# Command below will list all definitions in the vela-system namespace
> vela def get annotations --type trait --namespace vela-system

Options

      --from string        Filter definitions by which addon installed them.
-h, --help help for list
-n, --namespace string Specify which namespace the definition locates. (default "vela-system")
-t, --type string Specify which definition type to list. If empty, all types will be searched. Valid types: trait, policy, workload, workflow-step, component

Options inherited from parent commands

  -V, --verbosity Level   number for the log level verbosity
-y, --yes Assume yes for all user prompts

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.