How to switch namespace in lens

Viewed 655

I'm using lens kubernetes 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 use Namespace option switch to ns in vs code

also in kubectl using this command :

kubectl config set-context --current --namespace=my-namespace 

but how can we do it in lens ?

1 Answers

If I remember correctly there is a dropdown on the top right corner which you can use to select the namespace from.

Here is a screenshot from a blog that shows this dropdown:

Select Namespace

Related