Skip to main content
版本:v1.2

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: trait, policy, workload, scope, workflow-step, component

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 on 9-Feb-2022, refer to script in KubeVela.