Skip to content
Branch: master
Find file History
benmoss and k8s-publishing-bot Update deprecated links
Kubernetes-commit: 34ac4d9ee9fed65d770403fff4cb037253fc5d09
Latest commit 6320f74 Feb 5, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Update deprecated links Feb 4, 2019
main.go

README.md

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 https://git.k8s.io/community/contributors/devel/sig-api-machinery/controllers.md.

Running

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