- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WithRateLimiter (0.3 sec)
-
pkg/kubelet/apis/grpc/ratelimit.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 07:22:23 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/kube/controllers/queue.go
} // WithName sets a name for the queue. This is used for logging func WithName(name string) func(q *Queue) { return func(q *Queue) { q.name = name } } // WithRateLimiter allows defining a custom rate limiter for the queue func WithRateLimiter(r workqueue.RateLimiter) func(q *Queue) { return func(q *Queue) { q.queue = workqueue.NewRateLimitingQueue(r) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/webhooks/webhookpatch.go
// If there is a conflict beyond this, it means Istiods are seeing different ca certs and are in inconsistent // 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)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 28 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0)