1# Workqueue Example 2 3This example demonstrates how to write a controller which follows the states 4of watched resources. 5 6It demonstrates how to: 7 * combine the workqueue with a cache to a full controller 8 * synchronize the controller on startup 9 10The example is based on https://git.k8s.io/community/contributors/devel/sig-api-machinery/controllers.md. 11 12## Running 13 14``` 15# if outside of the cluster 16go run *.go -kubeconfig=/my/config 17```