client-go
Version: v0.37.1
- clientset: a set of clients to access Kubernetes API
- indexer: An indexed in-memory key-value store for objects
- informer
- indexer
- reflector
- ListerWatcher
- lister
- indexer
- workqueue: manages controller work items and retries.
- reflector: watches a specified resource with listerwatcher and reflects all changes to the configured store (FIFO).
- listerwatcher: list and watch the API server. used in reflector.
Commands in the component walkthroughs use the versions pinned in go.mod. Run go test ./contents/kubernetes-operator/client-go/... from the repository root. Informer/cache queues update stored objects; a controller workqueue separately schedules reconciliation keys.