vela_system_live-diff
vela system live-diff
Dry-run an application, and do diff on a specific app revison
Synopsis
Dry-run an application, and do diff on a specific app revison. The provided capability definitions will be used during Dry-run. If any capabilities used in the app are not found in the provided ones, it will try to find from cluster.
vela system live-diff
Examples
vela live-diff -f app-v2.yaml -r app-v1 --context 10
Options
-r, --Revision string specify an application Revision name, by default, it will compare with the latest Revision
-c, --context int output number lines of context around changes, by default show all unchanged lines (default -1)
-d, --definition string specify a file or directory containing capability definitions, they will only be used in dry-run rather than applied to K8s cluster
-f, --file string application file name (default "./app.yaml")
-h, --help help for live-diff
Options inherited from parent commands
-e, --env string specify environment name for application
SEE ALSO
- vela system - System management utilities