Skip to main content
Version: v1.3

vela def del

Delete X-Definition.

Synopsis

Delete X-Definition in kubernetes cluster.

vela def del DEFINITION_NAME [flags]

Examples

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

Options

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

Options inherited from parent commands

  -y, --yes   Assume yes for all user prompts

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.