xxxxxxxxxx
sudo apt-get update
sudo git clone https://github.com/ahmetb/kubectx /usr/local/kubectx
sudo ln -s /usr/local/kubectx/kubectx /usr/local/bin/kubectx
sudo ln -s /usr/local/kubectx/kubens /usr/local/bin/kubens
Enter kubens in your console and you should be able to see your namespaces
xxxxxxxxxx
# Install kubectx (Switch between Kubernetes contexts/namespaces)
sudo curl -sSL http://github.com/ahmetb/kubectx/archive/v0.3.1.tar.gz | sudo tar -C /usr/local/ -xz
export PATH=/usr/local/kubectx-0.3.1:$PATH