-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Empty newlines skipped when watching pod logs #2358
Comments
Maybe this is related to how to read the log line by line: python/kubernetes/base/watch/watch.py Lines 72 to 81 in d80165d
|
/help |
@roycaihw: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/assign |
What happened (please include outputs or screenshots):
Empty newlines skipped when watching pod logs
What you expected to happen:
Empty newlines not skipped when watching pod logs
How to reproduce it (as minimally and precisely as possible):
Run the following in a kubernetes contexxt:
The output that returns is:
The output that I expect is:
Anything else we need to know?:
Environment:
kubectl version
):python --version
)pip list | grep kubernetes
)Client Version: v1.29.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.4
Red Hat Enterprise Linux release 8.10
Python 3.11.3
kubernetes 32.0.0+snapshot
The text was updated successfully, but these errors were encountered: