Heya first off nice tool!
I'm switching over from kubectx which I loved but I liked your dynamic namespace loading and some of the other features. Anyway I hit a couple issues I wanted to ask about
First I think it's related to the dynamic ns lookup whenever you do switch ns I assume in the background it's making a call to re-populate the list which is great.. however I think that call takes 2-3s and I often filter and pick my ns within < 1 s.. which means it errors out:
kn
aws: [ERROR]: [Errno 32] Broken pipe
Exception ignored while flushing sys.stdout:
BrokenPipeError: [Errno 32] Broken pipe
it is shifting me to the new namespace but print out that ugly error is rather distracting. Any chance we could wrap it in try/catch?
Also one feature I did enjoy in kubectx was that it remembered your namespace on the cluster which was very useful in my work as I often switch between clusters. You have a switch . which lets you assume the previous cluster in a previous session I was wondering if u could add something similar for NS or just have an option to remember the previous one per cluster. I think kubeconfig already supports saving the namespace.
Thanks for the great tool!
Heya first off nice tool!
I'm switching over from kubectx which I loved but I liked your dynamic namespace loading and some of the other features. Anyway I hit a couple issues I wanted to ask about
First I think it's related to the dynamic ns lookup whenever you do
switch nsI assume in the background it's making a call to re-populate the list which is great.. however I think that call takes 2-3s and I often filter and pick my ns within < 1 s.. which means it errors out:kn aws: [ERROR]: [Errno 32] Broken pipe Exception ignored while flushing sys.stdout: BrokenPipeError: [Errno 32] Broken pipeit is shifting me to the new namespace but print out that ugly error is rather distracting. Any chance we could wrap it in try/catch?
Also one feature I did enjoy in
kubectxwas that it remembered yournamespaceon the cluster which was very useful in my work as I often switch between clusters. You have aswitch .which lets you assume the previous cluster in a previous session I was wondering if u could add something similar for NS or just have an option to remember the previous one per cluster. I thinkkubeconfigalready supports saving the namespace.Thanks for the great tool!