jx context

jx context

View or change the current Kubernetes context (Kubernetes cluster)

Synopsis

Displays or changes the current Kubernetes context (cluster).

jx context [flags]

Examples

  # to select the context to switch to
  jx context
  
  # or the more concise alias
  jx ctx
  
  # view the current context
  jx ctx -b
  
  # Change the current namespace to 'minikube'
  jx ctx minikube

Options

  -f, --filter string   Filter the list of contexts to switch between using the given text
  -h, --help            help for context

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input (default true)
      --verbose      Enables verbose output

SEE ALSO

  • jx - jx is a command line tool for working with Jenkins X
Auto generated by spf13/cobra on 14-Dec-2019

Last modified December 14, 2019: release 0.0.1346 (dcfae35)