Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewItemFastSlowRateLimiter (2.43 sec)

  1. pkg/webhooks/webhookpatch.go

    		// state for longer duration. Slowdown the retries, so that we do not overload kube api server and etcd.
    		controllers.WithRateLimiter(workqueue.NewItemFastSlowRateLimiter(100*time.Millisecond, 1*time.Minute, 5)),
    		// Webhook patching has to be retried forever. But the retries would be rate limited.
    		controllers.WithMaxAttempts(math.MaxInt))
    }
    
    // Run runs the WebhookCertPatcher
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. pkg/webhooks/validation/controller/controller.go

    		// longer lasting concerns which will eventually be retried on 1min interval.
    		// Unlike the mutating webhook controller, we do not use NewItemFastSlowRateLimiter. This is because
    		// the validation controller waits for its own service to be ready, so typically this takes a few seconds
    		// before we are ready; using FastSlow means we tend to always take the Slow time (1min).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top