Attaching to pod cannot exit, need to restart k9s (Windows)
Describe the bug Hi, Windows user here with k9s version 0.26.3. When attaching to pod via "a", I can't exit the shell. TTY is not enabled in containers. The only way is to quit k9s by Ctrl-C.
To Reproduce Steps to reproduce the behavior:
- k9s for Windows, connect to any cluster
- Press "a" (attach) on any Pod without enabled tty
- When attached, press Escape or type anything to exit the shell
Expected behavior Exit back to k9s ui on pressing Escape
Versions (please complete the following information):
- OS: Windows 10
- K9s: 0.23.6
- K8s: 1.21.2
@tsiukaris does this happens also with exec and shell or just attach?
@derailed whe using s (shell) typing exit works. Did not find any way to do exec on pod (not read-only mode). Anyway, thanks - I'll stick with shell
This is still an issue I think... if you attach, then you can't leave. Quitting the shell isn't really what you want to do because you might want to attach again later.