-
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
Unmarshalling fails in log stream (read_namespaced_pod_log) obtained via watch #983
Comments
/assign |
I think I have found another problem with reading log message streams: empty lines. If I do something like
Should I open a separate issue, or does it make sense to fix that in one go? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
The issue still exists and is pretty big showstopper in using the streaming API. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
@bluenote10 I do not think bot recognized your command because of backticks. |
/unassign @jiahuif has a reproduce and WIP fix in kubernetes-client/python-base#174 |
What happened (please include outputs or screenshots):
I'm using the following code to monitor log outputs of a pod:
This works in general. However if the process running in the pod prints a line that consists of a plain integer (e.g.
echo 42
), the message unmarshalling crashes:What you expected to happen:
It should not crash depending on the line content.
How to reproduce it (as minimally and precisely as possible):
echo 42
in a pod.Anything else we need to know?:
read_namespaced_pod_log
works even if lines contain pure integeres.Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: