OptionalallowAllow watch bookmarks (for efficient resource version tracking)
OptionallabelLabel selector to filter resources
OptionalnamespaceNamespace to watch resources in (optional for cluster-scoped resources)
OptionalresourceResource version to start watching from
OptionalresourceHow the resourceVersion constraint is applied. Set to 'NotOlderThan'
when using sendInitialEvents so the server can serve from its watch
cache rather than quorum-reading etcd.
OptionalsendWhen true, the watch stream begins with synthetic events that reproduce
the current state of the collection, followed by a bookmark with the
annotation k8s.io/initial-events-end. Requires allowWatchBookmarks
and resourceVersionMatch set to 'NotOlderThan'.
See KEP-3157 (watch-list). Supported in Kubernetes 1.32+ (Beta).
OptionalsignalAbortSignal to cancel the watch from outside the iteration loop
OptionaltimeoutTimeout in seconds for the watch operation
Options for watching Kubernetes resources