From 63bfb721100ecef2adee8fa286f1b0820c1fcfcf Mon Sep 17 00:00:00 2001 From: Reed Schalo Date: Mon, 12 Aug 2024 12:23:26 -0700 Subject: [PATCH] chore: Backport (#1561) v36.x (#1563) --- pkg/controllers/nodeclaim/lifecycle/controller.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/controllers/nodeclaim/lifecycle/controller.go b/pkg/controllers/nodeclaim/lifecycle/controller.go index 675913ef9a..9f7aaca4f9 100644 --- a/pkg/controllers/nodeclaim/lifecycle/controller.go +++ b/pkg/controllers/nodeclaim/lifecycle/controller.go @@ -144,7 +144,8 @@ func (c *Controller) Builder(_ context.Context, m manager.Manager) operatorcontr ). WithOptions(controller.Options{ RateLimiter: workqueue.NewMaxOfRateLimiter( - workqueue.NewItemExponentialFailureRateLimiter(time.Second, time.Minute), + // back off until last attempt occurs ~90 seconds before nodeclaim expiration + workqueue.NewItemExponentialFailureRateLimiter(time.Second, 300*time.Second), // 10 qps, 100 bucket size &workqueue.BucketRateLimiter{Limiter: rate.NewLimiter(rate.Limit(10), 100)}, ),