concept

List watch and concurrency

Understand list pagination, watch recovery, opaque resource versions, concurrency conflicts and bounded retry decisions. A controller often needs a local cache of objects.

Formal Syntax & Structure

kubernetes syntaxkubernetes
GET COLLECTION?watch=true&resourceVersion=TOKEN

Working Example

Example Snippetkubernetes
{"metadata":{"resourceVersion":"snapshot-A"},"items":[{"metadata":{"name":"catalog","uid":"uid-a","resourceVersion":"item-X"}}]}
Kubernetes Reference