Skip to content
Branch: master
Find file History

Latest commit

yastij and k8s-publishing-bot move WaitForCacheSync to the sharedInformer package
Signed-off-by: Yassine TIJANI <>

Kubernetes-commit: 7e4c3096fe71afc6a23c273b3309ed5db7289d8c
Latest commit 7ee6383 Aug 17, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information. Update deprecated links Feb 4, 2019
main.go move WaitForCacheSync to the sharedInformer package Aug 16, 2019

Workqueue Example

This example demonstrates how to write a controller which follows the states of watched resources.

It demonstrates how to:

  • combine the workqueue with a cache to a full controller
  • synchronize the controller on startup

The example is based on


# if outside of the cluster
go run *.go -kubeconfig=/my/config -logtostderr=true
You can’t perform that action at this time.