In order to be able to install and use
kubed-sh you must meet two prerequisites:
kubectlmust be installed, tested with client version up to and included
- Access to a Kubernetes cluster must be configured, tested with up to
To verify your setup, you can use the following two steps:
ls ~/.kube/config > /dev/null && echo $?and if you see a
0as a result, you're good, and further
kubectl config get-contexts | wc -land if you see a number greater than
0, then that's super dope.
To install and set up
kubed-sh, simply download the latest binary for Linux and macOS.
For example, to install
kubed-sh from binary on macOS you could do the following:
1 2 3 4 5
curl -L https://github.com/mhausenblas/kubed-sh/releases/latest/download/kubed-sh_darwin_amd64.tar.gz \ -o kubed-sh.tar.gz && \ tar xvzf kubed-sh.tar.gz kubed-sh && \ mv kubed-sh /usr/local/bin && \ rm kubed-sh*
Now you're good to go, learn how to use