Version: v1.2

vela live-diff

Dry-run application locally, and diff with a deployed application version

Synopsis

Dry-run application locally, and diff with a deployed application version.

  1. vela live-diff

Examples

  1. vela live-diff -f app-v2.yaml -r app-v1 --context 10

Options

  1. -r, --Revision string specify an application Revision name, by default, it will compare with the latest Revision
  2. -c, --context int output number lines of context around changes, by default show all unchanged lines (default -1)
  3. -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
  4. -e, --env string specify environment name for application
  5. -f, --file string application file name (default "./app.yaml")
  6. -h, --help help for live-diff
  7. -n, --namespace string specify the Kubernetes namespace to use

SEE ALSO

Go Back to CLI Commands Homepage.

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