Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configurable QPS and burst settings for kube API client (#2411)
* Add configurable QPS and burst settings for kube API client Introduce new flags to configure `QPS` and `Burst` for the Kubernetes API client, enabling better control over API rate limits. Signed-off-by: R.K <ron.kahn@run.ai> * Set a token bucket rate limiter for Kubernetes client Replaced direct QPS and Burst configuration with a token bucket rate limiter using Kubernetes client-go's flowcontrol package. Signed-off-by: R.K <ron.kahn@run.ai> * Reorganize import for flowcontrol in main.go Signed-off-by: R.K <ron.kahn@run.ai> --------- Signed-off-by: R.K <ron.kahn@run.ai>
- Loading branch information