This controller watches creations, updates and deletions of all standard workload resources.
Build:
kube-controller-gen
Run:
go run *.go
This will use ~/.kube/config by default. Use a different config by setting the environment variable KUBECONFIG or the command line parameter -kubeconfig.