版本:v1.4
vela live-diff
Compare application and revisions
Compare application and revisions
vela live-diff
# compare the current application and the running revision> vela live-diff my-app# compare the current application and the specified revision> vela live-diff my-app --revision my-app-v1# compare two application revisions> vela live-diff --revision my-app-v1,my-app-v2# compare the application file and the specified revision> vela live-diff -f my-app.yaml -r my-app-v1 --context 10
-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-e, --env string specify environment name for application-f, --file string application file name-h, --help help for live-diff-n, --namespace string specify the Kubernetes namespace to use-r, --revision string specify one or two application revision name(s), by default, it will compare with the latest revision
-y, --yes Assume yes for all user prompts
Last updated on 2022年12月22日 by Ihor Sychevskyi