<p>According to <a href="https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-organizing-with-namespaces" rel="nofollow noreferrer">this</a> blog, the <code>kubens</code> command is used to show all the available namespaces in <strong>GCP's</strong> GKE, but when I tried using this command, and after connecting to the cluster it says: </p>

<blockquote>
  <p>command not found</p>
</blockquote>

<p>Why am I getting this error?</p>

Yash Saini
<p>First you have to install <code>kubens</code> in your machine. Go through the below link for installation.</p>

<p><a href="https://github.com/ahmetb/kubectx" rel="nofollow noreferrer">https://github.com/ahmetb/kubectx</a></p>
