Display differences between the component parameters of two environments
The diff
command pretty prints differences between the component parameters
of two environments.
By default, the diff is performed for all components. Diff-ing for a single component is supported via a component flag.
ks param set
— Change component or environment parameters (e.g. replica count, name)ks apply
— Apply local Kubernetes manifests (components) to remote clusters
ks param diff <env1> <env2> [--component <component-name>] [flags]
# Diff between all component parameters for environments 'dev' and 'prod'
ks param diff dev prod
# Diff only between the parameters for the 'guestbook' component for environments
# 'dev' and 'prod'
ks param diff dev prod --component=guestbook
--component string Specify the component to diff against
-h, --help help for diff
-o, --output string Output format. Valid options: table|json
--dir string Ksonnet application root to use; Defaults to CWD
--tls-skip-verify Skip verification of TLS server certificates
-v, --verbose count Increase verbosity. May be given multiple times.
- ks param - Manage ksonnet parameters for components and environments