Skip to content

Add examples of how a simple list and watch is built using client-go #161

Open
@krmayankk

Description

  • basically how to use resourceVersion correctly. Sorry if this is documented somewhere else ?
  • From my understanding, we should always do a list and get the resourceVersion from the list
  • then use a watch with the above resourceVersion
  • if the watch fails, can we restart the watch with same resourceVersion
  • if the watch succeeds , how do i get the updated resourceVersion to do the watch again ?
  • I know if between list and watch , too much time elapses, the buffer can become full, in which case, watch would fail, i guess, do we need to list again there ?

Metadata

Assignees

No one assigned

    Labels

    lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions