Kubernetes command line tools(kubectl, kubectx, kubens, stern)

less than 1 minute read

kubectl

  • Kubernetes official client
  • brew install kubectl

kubectx

  • Kubectx is helpful for multi-cluster installations, where you need to switch context between one cluster and another.
  • brew install kubectx
  • https://github.com/ahmetb/kubectx

kubens

  • This script allows you to easily switch between Kubernetes namespaces
  • This script is installed with kubectx

stern