Useful Commands

JX Shell

Create a sub shell so that changes to the Kubernetes context, namespace or environment remain local to the shell

1
2
# create a new shell using a specific named context
jx shell prod-cluster

JX Prompt

Generate the command line prompt for the current team and environment

1
2
# Generate the current prompt
jx prompt
1
2
# Enable the prompt for bash
PS1="[\u@\h \W \$(jx prompt)]\$ "
1
2
# Enable the prompt for zsh
PROMPT='$(jx prompt)'$PROMPT

JX Helm

As of this writing, April 2019, Tiller is no longer installed by default. This means Helm cannot find it's releases.

To interact with Helm as you're used to, use jx step helm instead.

1
jx step helm list

For more details, read the docs.

Single Issue commands

Get URLS

1
jx get urls