github mhausenblas/kubed-sh 0.5
Environments & scripting

latest releases: 0.88, 0.87, 0.86...
pre-release6 years ago

Besides fixing bugs, the major changes in this release are: environments and scripting. In addition, the overview docs have been improved. Thanks for all your feedback!

Environments

See the design as well as #6 for what environments are and how to work with them. In a nutshell, there are now four new sub-commands (env list, env create ENVNAME, env select ENVNAME, and env delete ENVNAME) that allow you to manage environments. Those envs are represented by labels on the resources and when deleted, they are reaped and go back into the global scope.

Scripting

It is now possible to not only interactively use kubed-sh but also via a script, see also #9 for details. Example:

$ cat test.kbdsh
#!/usr/bin/env kubed-sh
use minikube
# This line is a comment that will be ignored
node ../thescript.js &
ps
$ chmod 755 test.kbdsh
$ ./test.kbdsh

Change log summary:

a68817c closes #10 re pre-pull
4eed68f adds the (local) sleep command
5d0b8ed implements the delete env command properly
945dcfa improves autocomplete around env and ps
6f65c4f completes work on envs, closes #6
2f1826b adds cluster object env labelling
b22eb31 adds env list command
dd0d022 inits work on #6 (env management)
e44711c fixes remove svc in kill command
bc342b8 adds help suggestion on start-up
1a323ef fixes #17
1b28706 fixes prompt set at context switch
08767d4 improves scripting testing
922cb59 completes #9 that is adds scripting support
2fa5e90 improves readability of user docs
58785e7 improves intro and UC docs
d89e46f adds debug info to use built-in cmd
eba2bc2 adds debug indicator

Don't miss a new kubed-sh release

NewReleases is sending notifications on new releases.