File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type PodReconciler struct {
56
56
57
57
var (
58
58
PodRequeueRequest = ctrl.Result {Requeue : true , RequeueAfter : time .Second }
59
- MaxPodConcurrentReconciles = 10
59
+ MaxPodConcurrentReconciles = 20
60
60
)
61
61
62
62
// Reconcile handles create/update/delete event by delegating the request to the handler
Original file line number Diff line number Diff line change @@ -49,15 +49,16 @@ const (
49
49
// Tested: 12 + 8 limits (not seeing significant degradation from 15+8)
50
50
// Larger number seems not make latency better than 12+8
51
51
UserServiceClientQPS = 12
52
- UserServiceClientQPSBurst = 8
52
+ UserServiceClientQPSBurst = 18
53
53
54
54
// EC2 API QPS for instance service client
55
- InstanceServiceClientQPS = 5
56
- InstanceServiceClientBurst = 7
55
+ InstanceServiceClientQPS = 12
56
+ InstanceServiceClientBurst = 18
57
57
58
58
// API Server QPS
59
- DefaultAPIServerQPS = 10
60
- DefaultAPIServerBurst = 15
59
+ // Use the same values as default client (https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/client/config/config.go#L85)
60
+ DefaultAPIServerQPS = 20
61
+ DefaultAPIServerBurst = 30
61
62
)
62
63
63
64
// LoadResourceConfig returns the Resource Configuration for all resources managed by the VPC Resource Controller. Currently
You can’t perform that action at this time.
0 commit comments