From a553c2c2cc949092586692d4881e3c02762c32b2 Mon Sep 17 00:00:00 2001 From: wojtekt Date: Thu, 4 Jul 2019 13:12:08 +0200 Subject: [PATCH] Enable watch bookmarks in reflector Kubernetes-commit: 175c07f4e6d3a59bb6d9870c4a4a78c41940b2dd --- tools/cache/reflector.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/cache/reflector.go b/tools/cache/reflector.go index 2ca263c9..b7e67c0e 100644 --- a/tools/cache/reflector.go +++ b/tools/cache/reflector.go @@ -268,8 +268,7 @@ func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { // To reduce load on kube-apiserver on watch restarts, you may enable watch bookmarks. // Reflector doesn't assume bookmarks are returned at all (if the server do not support // watch bookmarks, it will ignore this field). - // Disabled in Alpha release of watch bookmarks feature. - AllowWatchBookmarks: false, + AllowWatchBookmarks: true, } w, err := r.listerWatcher.Watch(options)