Closed tty47 closed 4 months ago
The changes enhance the Kubernetes client configuration in pkg/k8s/k8s.go
by adding constants to increase the QPS (queries per second) and Burst settings. This modification aims to improve throughput and concurrency when interacting with Kubernetes clusters, whether using in-cluster configuration or a kubeconfig file.
Files | Change Summary |
---|---|
pkg/k8s/k8s.go |
Added constants CustomQPS (100) and CustomBurst (200). Updated getClusterConfig to utilize these constants for better throughput and concurrency. |
Among the clusters, swift and bright,
Our code now dances in the light.
With QPS and Burst set high,
Kubernetes tasks now swiftly fly.
A rabbit's joy in code's delight,
Speed and grace in every byte. 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
hello!
adding custom config to the client, with these values, the K8S API can manage the requests
Summary by CodeRabbit