k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Screen goes blank after existing shell while running K9S

Open amitpaz opened this issue 2 years ago • 4 comments




Describe the bug Running K9S - existing a shell from a pod and screen goes blank

To Reproduce Steps to reproduce the behavior:

  1. Run K9S and connect to your K8S cluster
  2. Select a pod and shell into it
  3. Exit the shell
  4. Screen goes blank

Expected behavior Should return back to K9S

Screenshots Link to a Loom video https://www.loom.com/share/f63af8cd0b72483c9e0fcd5c05f865e5

Versions (please complete the following information):

  • OS: OSX, Monterey 12.4 (M1 Max chip)
  • K9s: 0.26.0
  • K8s: 1.18.20-eks-154371

Additional context I have verified functional using Iterm

amitpaz avatar Jul 23 '22 16:07 amitpaz

@amitpaz hello! Interesting behavior! Could you please attach your logs? k9s info -> Logs

slimus avatar Jul 24 '22 17:07 slimus

@amitpaz I don't have access to an M1 at present Could please give v0.26.1 a rinse and see if we're happier? Thank you!!

derailed avatar Aug 03 '22 18:08 derailed

@slimus I have the same issue, adding here the end of the log file. thx

12:49PM INF 🐶 K9s starting up... 12:49PM INF ✅ Kubernetes connectivity 12:49PM WRN No context specific skin file found -- /Users/thierryturpin/Library/Application Support/k9s/rancher-desktop_skin.yml 12:49PM WRN No skin file found -- /Users/thierryturpin/Library/Application Support/k9s/skin.yml. Loading stock skins. 12:49PM WRN Custom view load failed /Users/thierryturpin/Library/Application Support/k9s/views.yml error="open /Users/thierryturpin/Library/Application Support/k9s/views.yml: no such file or directory" 12:49PM WRN CustomView watcher failed error="lstat /Users/thierryturpin/Library/Application Support/k9s/views.yml: no such file or directory" 1:39PM WRN log-reader canceled error="Stream canceled context canceled for kube-system/traefik-7cd4fcff68-wq24g (traefik)" 1:39PM WRN log-reader canceled error="Stream canceled context canceled for kube-system/traefik-7cd4fcff68-wq24g (traefik)" 1:58PM WRN os detect failed error="no os information available" 1:58PM WRN Custom view load failed /Users/thierryturpin/Library/Application Support/k9s/views.yml error="open /Users/thierryturpin/Library/Application Support/k9s/views.yml: no such file or directory" 1:58PM WRN CustomView watcher failed error="lstat /Users/thierryturpin/Library/Application Support/k9s/views.yml: no such file or directory"

thierryturpin avatar Aug 12 '22 12:08 thierryturpin

@amitpaz I don't have access to an M1 at present Could please give v0.26.1 a rinse and see if we're happier? Thank you!!

Nope. that hasn't worked out for me yet This is from the log: 6:09PM WRN CustomView watcher failed error="lstat /Users/amitpaz/Library/Application Support/k9s/views.yml: no such file or directory"

amitpaz avatar Aug 12 '22 15:08 amitpaz

I think is an issue between k9s and warp terminal? It behaves correctly for me on iTerm2 on both an M1 and Intel macbook. I haven't tried warp on my Intel yet, but I am seeing this behavior on warp on my M1. There is also an open issue on the warp github repo for it as well over here.

ammmze avatar Dec 15 '22 03:12 ammmze

Warp just released an update today that resolved this issue for me. @amitpaz can you confirm?

ammmze avatar Dec 15 '22 22:12 ammmze