Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.42 KB

ks_param_diff.md

File metadata and controls

57 lines (36 loc) · 1.42 KB

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.

Related Commands

  • ks param set — Change component or environment parameters (e.g. replica count, name)
  • ks apply — Apply local Kubernetes manifests (components) to remote clusters

Syntax

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

Examples


# 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

Options

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

Options inherited from parent commands

      --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.

SEE ALSO

  • ks param - Manage ksonnet parameters for components and environments