Version: v1.2

vela def list

List definitions.

Synopsis

List definitions in kubernetes cluster.

  1. vela def list [flags]

Examples

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

Options

  1. -h, --help help for list
  2. -n, --namespace string Specify which namespace to list. If empty, all namespaces will be searched.
  3. -t, --type string Specify which definition type to list. If empty, all types will be searched. Valid types: component, trait, policy, workload, scope, workflow-step

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra on 12-Jan-2022, refer to script in KubeVela.