title: How to list all namespaces in a cluster?
body: <p>I am trying to figure out how to list all namespaces in a cluster:
  <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/" rel="noreferrer">https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/</a></p>
  
  <p>something like:</p>
  
  <pre><code>kubectl describe cluster --namepaces -o json
  </code></pre>
  
  <p>anyone know how to list all the namespaces in a K8S/EKS cluster?</p>