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
Log issue #687
Comments
may i know what do you mean by 'a problem with log reading' |
When I set the "follow" parameter, the method freezes. |
this is a know bug fixed by #681 I was thinking you are talking about |
How should I use it? |
either wait for release copy or clone my branch then add src ref |
Is the old "ReadNamespacedPodLogAsync" method unavailable? |
yes api does not get changed |
Hope to post soon because I am using it. |
I'm affected by the same issue. Trying to instantiate a var log_stream = await kubernetes_client.ReadNamespacedPodLogAsync(pod_name, "default", container: "foo", follow: true, cancellationToken: cancellation_token);
using var sr = new StreamReader(log_stream); Works fine with V5.0.20, but not with V6.0.1. |
fixed by #681 |
I now get a different error for reading logs:
My code is: var log_stream = await kubernetes_client.ReadNamespacedPodLogAsync(pod_name, "default", container: "foo", follow: true, cancellationToken: cancellation_token);
using var sr = new StreamReader(log_stream);
while (!sr.EndOfStream) // exception thrown here
{
var line = await sr.ReadLineAsync();
} |
@tg123 would you like me to open a new issue for this or should we just re-open this one? |
dup #704 |
please use |
After updating to the latest version, there seems to be a problem with log reading. The previous version did not have this problem
The text was updated successfully, but these errors were encountered: