Kubectl shell is the Kubernetes-plugin which helps to get shell inside the container/pods
- Download the binary from here
- Move it to the PATH Location
sudo cp kubectl-shell /usr/local/bin
Once you moved verify the plugin is installed by typing the below command in the terminal
$ kubectl plugin list
usage: kubectl shell [pod-name]/[container-name] [namespace][optional]
eg kubectl shell hello-world
or
kubectl shell hello-world default
