WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx shell
list of jx commands
jx shell
Create a sub shell so that changes to the Kubernetes context, namespace or environment remain local to the shell
Synopsis
Create a sub shell so that changes to the Kubernetes context, namespace or environment remain local to the shell.
jx shell [flags]
Examples
# create a new shell where the context changes are local to the shell only
jx shell
# create a new shell using a specific named context
jx shell prod-cluster
# ends the current shell and returns to the previous Kubernetes context
exit
Options
-f, --filter string Filter the list of contexts to switch between using the given text
-h, --help help for shell
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx - jx is a command line tool for working with Jenkins X
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)