In this scenario you'll learn how to use the hot-reload feature in kubed-sh, the Kubernetes distributed shell for the casual cluster user.
Kudos to kubectl authors
Thanks for trying out kubed-sh
.

Steps
kubed-sh hot-reload
Preparation
Before we launch kubed-sh
, let's get some examples set up:
git clone https://github.com/mhausenblas/kubed-sh.git
cd kubed-sh/tc/node/
Now let's first launch kubed-sh
like so:
kubed-sh
Now we create a second terminal session and launch vi
in it to edit a script called test.js
:
cd kubed-sh/tc/node/
vi test.js
OK, so now we have kubed-sh
in one session and the Node.js script test.js
in an another session, in the vi
editor set up.