K9s 0.1.1 is not allowing selection of namespaces outside of all, default and kube-system which was possible in 0.1.0.
First noticed on a GKE cluster running 1.12.4-gke.6, reproduced on a local minikube instance.
Reproduce
Have minikube, kubectl and k9s installed.
$ minikube delete
$ minikube start
$ kubectl apply -f https://k8s.io/examples/admin/namespace-dev.json
Running
$ kubectl get namespaces
Returns
NAME STATUS AGE
default Active xxx
development Active xxx
kube-public Active xxx
kube-system Active xxx
Launching k9s you can only see
<0> all
<1> default
<2> kube-system
You need to set them up in the config file (use k9s info to view the path) in 1.1.0, like so:
k9s:
refreshRate: 2
logBufferSize: 200
namespace:
active: all
favorites:
- all
- default
- kube-system
- development
view:
active: po
I did notice that there's only a maximum of 6 displayed, whereas 1.0.0 displayed up to 10. All entries beyond the 6th are not shown, and hotkeys beyond 5 do nothing
That's desired behaviour for 0.1.1: https://github.com/derailed/k9s/releases
You can nav to the namespace view (ns) and Ctrl-S to select and switch between namespaces. This will maintain your top 5 namespaces for you based on your behavior.
Looks like this was addressed. Please re-open if not.
Most helpful comment
You can nav to the namespace view (ns) and Ctrl-S to select and switch between namespaces. This will maintain your top 5 namespaces for you based on your behavior.