title: vela def del

Delete X-Definition.

Synopsis

Delete X-Definition in kubernetes cluster.

  1. vela def del DEFINITION_NAME [flags]

Examples

  1. # Command below will delete TraitDefinition of annotations in default namespace
  2. > vela def del annotations -t trait -n default

Options

  1. -h, --help help for del
  2. -n, --namespace string Specify which namespace the definition locates.
  3. -t, --type string Specify the definition type of target. Valid types: workload, scope, workflow-step, component, trait, policy

SEE ALSO

Go Back to CLI Commands Homepage.

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