ks param diff

Display differences between the component parameters of two environments

Synopsis

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

Syntax

  1. ks param diff <env1> <env2> [--component <component-name>] [flags]

Examples

  1. # Diff between all component parameters for environments 'dev' and 'prod'
  2. ks param diff dev prod
  3. # Diff only between the parameters for the 'guestbook' component for environments
  4. # 'dev' and 'prod'
  5. ks param diff dev prod --component=guestbook

Options

  1. --component string Specify the component to diff against
  2. -h, --help help for diff
  3. -o, --output string Output format. Valid options: table|json

Options inherited from parent commands

  1. --dir string Ksonnet application root to use; Defaults to CWD
  2. --tls-skip-verify Skip verification of TLS server certificates
  3. -v, --verbose count Increase verbosity. May be given multiple times.

SEE ALSO

  • ks param - Manage ksonnet parameters for components and environments