Difficulty: beginner
Estimated Time: 5 minutes

In this scenario you'll learn how to install and use kubed-sh, the Kubernetes distributed shell for the casual cluster user.

Thanks for trying out kubed-sh.

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

kubed-sh 101

Step 1 of 3

Install kubed-sh

Let's install kubed-sh first. For this, we download the Linux binary (may take a few moments, downloads a ~3 MB binary):

curl -s -L https://github.com/mhausenblas/kubed-sh/releases/download/0.5/kubed-sh-linux -o kubed-sh

And now we make it executable and move it to a well-known place:

chmod +x kubed-sh && sudo mv kubed-sh /usr/local/bin

The next step is strictly speaking not necessary, but we want to make sure that a defined context exists to operate on:

kubectl config set-context katacoda --cluster=kubernetes --user=kubernetes-admin && kubectl config use-context katacoda

Well done, you've successfully installed kubed-sh, now let's move on into using it!