Skip to content

Watch() missing events after a while #515

Closed
@ahoka

Description

@ahoka

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions