This is the first release. Currently only macOS and Linux binaries are available with Windows planned (see also #1 for details). The following features are currently available in kubed-sh
:
- You can launch any (Linux ELF) binary or (Node.js/Python/Ruby) script either in a one-shot manner or in the background, as a long-running process, appending a
&
as you would in a local shell. - You can get a list of the long-running processes with
ps
. - You can stop and remove a long-running process using
kill
. - You can list and switch between available Kubernetes contexts using
contexts
anduse
, respectively. - To execute
kubectl
commands directly, prepend them with a`
, so for example if you enter`
get pods thenkubed-sh
executes akubectl get pods
command and prints the result. - To list defined environment variables, use
env
, to print their value useecho
. For example, to show the value of the default container image used for Python scripts, enterecho $PYTHON_IMAGE
.