also in kubectl using this command :
kubectl config set-context --current --namespace=my-namespace
but how can we do it in lens ?
CodePudding user response:
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: