Unable to read the full lines in a pod using vi

23 views
Skip to first unread message

w04...@gmail.com

unread,
Oct 17, 2017, 4:29:36 PM10/17/17
to Kubernetes user discussion and Q&A
Hi,

I am trying to vi content in files inside a pod and all the content gets chopped off. I only see few columns of the text and the rest gets chopped.
Is there any solution for this ?

I am running the following command to execute a pod.

kubectl exec -it <pod-name> --namespace=<namespace> bash

Thanks,
Div

Matthias Rampke

unread,
Oct 18, 2017, 4:55:15 AM10/18/17
to Kubernetes user discussion and Q&A
It appears that this was buggy until recently: https://github.com/kubernetes/kubernetes/issues/47990

The original feature issue for terminal size handling has some options for manual workarounds: https://github.com/kubernetes/kubernetes/issues/13585

/MR

PS: ed(1) is the standard editor.
PPS: sadly, it's not even installed by default anymore on most systems.

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

w04...@gmail.com

unread,
Oct 19, 2017, 1:41:25 PM10/19/17
to Kubernetes user discussion and Q&A
Thank you. Will try
Reply all
Reply to author
Forward
0 new messages