Skip to content

Commit f9eb09f

Browse files
committed
📖 Docs for SyncPeriod: No sync from api-server.
1 parent 6824653 commit f9eb09f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/cache/cache.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ type Options struct {
148148
Mapper meta.RESTMapper
149149

150150
// 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
152155
// responsiveness to change if there are many watched resources. Change this
153156
// value only if you know what you are doing. Defaults to 10 hours if unset.
154157
// there will a 10 percent jitter between the SyncPeriod of all controllers

0 commit comments

Comments
 (0)