Difficulty: intermediate
Estimated Time: 8 minutes

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.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

kubed-sh hot-reload

Step 1 of 3


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:


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.