
Describe the bug
Switching between contexts hangs up
To Reproduce
Steps to reproduce the behavior:
k9s --context my-context-1:ctxkill <k9s_pid>)Expected behavior
No stalling, able to switch to the targeted context.
Versions (please complete the following information):
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:52:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}Additional context
The targeted context is reachable since I can successfully execute kubectl get nodes on it
Here are the logs:
2:40PM INF 🐶 K9s starting up...
2:40PM DBG Active Context "my-context-1"
2:40PM INF ✅ Kubernetes connectivity
2:40PM DBG [Config] Saving configuration...
2:40PM INF No context specific skin file found -- /home/mad/.k9s/my-context-1_skin.yml
2:40PM INF No skin file found -- /home/mad/.k9s/skin.yml. Loading stock skins.
2:40PM DBG CURRENT-NS "" -- No active namespace specified
2:40PM INF No namespace specified using cluster default namespace
2:40PM DBG Factory START with ns `""
2:40PM DBG CustomView watching `/home/mad/.k9s/views.yml
2:40PM ERR Custom view load failed /home/mad/.k9s/views.yml error="open /home/mad/.k9s/views.yml: no such file or directory"
2:40PM ERR CustomView watcher failed error="no such file or directory"
2:40PM DBG [Config] Saving configuration...
2:40PM DBG [Config] Saving configuration...
2:40PM DBG TABLE-WATCH "contexts"
2:40PM DBG SWITCH CTX "contexts"--"minikube"
2:40PM DBG Switching context "minikube"
2:40PM DBG TABLE-MODEL canceled -- "contexts"
Having the same issue but I am not starting it with --context
Same thing. Can only work with current context from ~/.kube/config. If I try to change to any other via :ctx it completely freezes. MacOS Catalina.
@srilumpa @paulwitt @kapodes Thank you all for reporting this!
Hopefully we're happier on v0.20.5... My bad!
Thank you all for your patience and support!!
@derailed 0.20.5 works as expected 🎉
Works again for me too, thank you for your responsiveness !
@kapodes @bendevcat Woosh! Happy to hear this... Thank you both for reporting back!
Works for me as well. Thank you!
Most helpful comment
@srilumpa @paulwitt @kapodes Thank you all for reporting this!
Hopefully we're happier on v0.20.5... My bad!
Thank you all for your patience and support!!