Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal is messed up in kubectl ssh node #3

Closed
dserodio opened this issue Feb 7, 2023 · 2 comments
Closed

Terminal is messed up in kubectl ssh node #3

dserodio opened this issue Feb 7, 2023 · 2 comments

Comments

@dserodio
Copy link

dserodio commented Feb 7, 2023

This is the first time I try to use kubectl ssh node, and the terminal is messed up:

$ kubectl ssh node ip-10-0-87-61.us-west-2.compute.internal
Created pod/ssh-node-646dc
Waiting for container to start...
If you don't see a command prompt, try pressing enter.

                                                      [root@ip-10-0-87-61 /]#
                                                                              [root@ip-10-0-87-61 /]# ls
                                                                                                        bin   dev  home  lib    local  mnt  proc  run   srv  tmp  var
                         boot  etc  host  lib64  media  opt  root  sbin  sys  usr
                                                                                 [root@ip-10-0-87-61 /]# reset
[root@ip-10-0-87-61 /]# echo $TERM
                                  xterm
                                       [root@ip-10-0-87-61 /]# ls /
                                                                   bin   dev  home  lib    local  mnt  proc  run   srv  tmp  var
                                                                                                                                boot  etc  host  lib64  media  opt  root  sbin  sys  usr
@luksa
Copy link
Owner

luksa commented Feb 7, 2023

Are you using kubecolor? If so, try running with --plain.

@dserodio
Copy link
Author

dserodio commented Feb 9, 2023

That was it, thank you very much

@dserodio dserodio closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants