File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,10 @@ type Options struct {
148
148
Mapper meta.RESTMapper
149
149
150
150
// SyncPeriod determines the minimum frequency at which watched resources are
151
- // reconciled. A lower period will correct entropy more quickly, but reduce
151
+ // reconciled. It causes all resources in the local cache to be re-enqueued
152
+ // for reconciliation, even if there are no new events. It does
153
+ // not sync between the api-server and the local cache.
154
+ // A lower period will correct entropy more quickly, but reduce
152
155
// responsiveness to change if there are many watched resources. Change this
153
156
// value only if you know what you are doing. Defaults to 10 hours if unset.
154
157
// there will a 10 percent jitter between the SyncPeriod of all controllers
@@ -174,8 +177,8 @@ type Options struct {
174
177
// instead of `reconcile.Result{}`.
175
178
//
176
179
// SyncPeriod will trigger update events with the old object being equal to the new
177
- // object, except when the cache was out of sync.
178
- // If you filter update events like this:
180
+ // object. If you filter update events like this:
181
+ //
179
182
// Controller.Watch(
180
183
// &source.Kind{Type: v1.MyCustomKind},
181
184
// &handler.EnqueueRequestForObject{},
You can’t perform that action at this time.
0 commit comments