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

kubed-sh hot-reload

Step 1 of 3

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.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]