A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content
Version: Next

vela def compatibility-check definitions

Scan all definitions and their revision history for CUE incompatibilities

Synopsis​

Scans every definition across all namespaces for CUE syntax incompatible with the current KubeVela version, grouped by definition with the affected DefinitionRevisions listed under each.

Use --latest-revision-only to skip revision history and check only the current live definition.

vela def compatibility-check definitions [flags]

Examples​

# Scan all definitions and all their historical revisions
vela def compatibility-check definitions

# Scan only the current live definition (skip revision history)
vela def compatibility-check definitions --latest-revision-only

# Output as YAML
vela def compatibility-check definitions -o yaml

Options​

      --annotation-selector string   Filter by annotations, e.g. --annotation-selector owner=team-a.
-h, --help help for definitions
-l, --label-selector string Filter by labels, e.g. -l app=foo,env=prod.
--latest-revision-only Only check the current live definition; skip DefinitionRevision history.
-n, --namespace string Only scan definitions in this namespace (default: all namespaces).
-o, --output string Output format. One of: table, yaml, json. (default "table")

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.​