Skip to main content

Posts

Showing posts from August, 2019

Best tools for kubernetes

1. Kubectx and kubens . Tool to switch between context and namespaces easily. 2. kube-shell.To install kube-shell you need > python2.7.14 and pip.To install python 2.7.16 follow the below steps.Install zlib and ssl module for python as this is needed for pip download.You can switch namespace and context using kube-shell as well.F5 to change namespace and F4 to change cluster. cd /tmp && wget https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz && tar zxvf Python-2.7.16.tgz cd Python-2.7.16 ./configure --enable-optimizations && make altinstall cd /tmp && curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && python2.7 get-pip.py Finally ,pip install kube-shell.kube-shell will look for kubeconfig file under ~/.kube/config.