Skip to content

client.WithWatch expiration #3046

@mattzech

Description

@mattzech

Hi,

I am using client.NewWithWatch to then create a watch interface which monitors nodes:

watcher, err := client.Watch(ctx, &corev1.NodeList{})

By creating it in this way, is there an expiration for this watch interface? It appears to stop reporting events after some time, so I am just trying to figure out when I need to rebuild the client, or if I can create it in a way that does not expire.

using: v0.19.1

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions