ks env current

Sets the current environment

Synopsis

The current command lets you set the current ksonnet environment.

  • ks env list — List all environments in a ksonnet application

Syntax

  1. ks env current [--set <name> | --unset] [flags]

Examples

  1. #Update the current environment to 'us-west/staging'
  2. ks env current --set us-west/staging
  3. #Retrieve the current environment
  4. ks env current
  5. #Unset the current environment
  6. ks env current --unset

Options

  1. -h, --help help for current
  2. --set string Environment to set as current
  3. --unset Unset current environment

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 env - Manage ksonnet environments