Difficulty: Beginner
Estimated Time: 10 minutes

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

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.4.1/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!