In a earlier version, the default view was to show resources for all namespaces, it was pretty useful to get an overview of the cluster state.
I'm unable to find a way to get the all-namespaces view, when I don't specify -n in the command line it lists resources from default instead of all. Am I missing something?
Thanks
The behavior is still there but no longer the default. You can now nav to the namespace resource ie :ns
I'd vote for keeping showing resources from all namespaces instead of the default one default in k9s, and keep it listed in the used namespaces. Any chance you can make this happen?
I think it's a better default as it keeps things explicit and shows a brief overview of the cluster by just running k9s.
WDYT?
what do i do if i have a namespace named all?
@aslafy-z K9s by default tracks the active namespace and will relaunch based on the last namespace viewed. This information is stored in the .k9s/config.yml. I will make an update to the K9s CLI to afford a -A or --all-namespaces' in parity with kubectl so you can always override for cluster wide views. For now you should be able to use-n all` to specify all namespaces. Would that help?
it would be nice to have option to select the namespace interactive.
we use quite a lot of namespaces, and viewing all is a bit to big to get my head around.
so allowing to switch between namespaces , selecting the next out of a list of active namespaces , would be very helpful.
@lucwillems Did you try the namespaces view aka :ns? Should be able to nav to your namespace of choice from there or use :po my_ns to see pods or any other resources in a given namespace.
@derailed Thanks, should read the big README file ;-)
Most helpful comment
I'd vote for keeping showing resources from all namespaces instead of the
defaultone default in k9s, and keep it listed in the used namespaces. Any chance you can make this happen?I think it's a better default as it keeps things explicit and shows a brief overview of the cluster by just running
k9s.WDYT?