vela live-diff

Compare application and revisions

Synopsis

Compare application and revisions

  1. vela live-diff

Examples

  1. # compare the current application and the running revision
  2. > vela live-diff my-app
  3. # compare the current application and the specified revision
  4. > vela live-diff my-app --revision my-app-v1
  5. # compare two application revisions
  6. > vela live-diff --revision my-app-v1,my-app-v2
  7. # compare the application file and the specified revision
  8. > vela live-diff -f my-app.yaml -r my-app-v1 --context 10

Options

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

Options inherited from parent commands

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

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.