<p>I'm using <a href="https://k8slens.dev/" rel="nofollow noreferrer">lens kubernetes</a> I searched and tried a lot but I didn't find any way to switch between namespaces. is there any option to do so ?
to clarify it in vscode extension you can switch between namespaces easily by right clicking on a namespace listed and then selecting <code>use Namespace</code> option <a href="https://i.stack.imgur.com/exqS3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/exqS3.png" alt="switch to ns in vs code" /></a></p>
<p>also in kubectl using this command :</p>
<pre><code>kubectl config set-context --current --namespace=my-namespace 
</code></pre>
<p>but how can we do it in lens ?</p>

<p>If I remember correctly there is a dropdown on the top right corner which you can use to select the namespace from.</p>
<p>Here is a screenshot from a blog that shows this dropdown:</p>
<p><a href="https://i.stack.imgur.com/nbtNH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nbtNH.png" alt="Select Namespace" /></a></p>
