command
Version:
v0.21.9
Opens a new window with list of versions in this module.
Published: Jan 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.