We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are using Watch to wait for pod completion, but in some cases we miss the completion event.
var pods = client.ListNamespacedPodWithHttpMessagesAsync(config.Namespace, watch: true, fieldSelector: $"metadata.name={pod}"); pods.Watch<V1Pod, V1PodList>((type, item) =>..., ..., ...);
We don't see OnClose or OnError firing when this happens. The first few events are arriving correctly.
Could this be that the underlying connection breaks for some reason, but the stream does not notice it?
The text was updated successfully, but these errors were encountered:
so completion event is something like when pod was finished?
completion event
here are all events from server side
csharp/src/KubernetesClient/Watcher.cs
Line 12 in 16845ba
maybe, you can push some user event to a queue
Sorry, something went wrong.
duplicate of #533 ?
Yes, I think so. I'm going to close it in favor of that issue where there's much more discussion.
No branches or pull requests
We are using Watch to wait for pod completion, but in some cases we miss the completion event.
var pods = client.ListNamespacedPodWithHttpMessagesAsync(config.Namespace, watch: true, fieldSelector: $"metadata.name={pod}");
pods.Watch<V1Pod, V1PodList>((type, item) =>..., ..., ...);
We don't see OnClose or OnError firing when this happens. The first few events are arriving correctly.
Could this be that the underlying connection breaks for some reason, but the stream does not notice it?
The text was updated successfully, but these errors were encountered: