Skip to content

Commit

Permalink
increasing node and pod worker number (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
haouc authored Sep 7, 2023
1 parent 2648ed5 commit bbe40dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/core/node_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (
// on cache only a single go routine should be sufficient. Using more than
// one routines to help high rate churn and larger nodes groups restarting
// when the controller has to be restarted for various reasons.
const MaxNodeConcurrentReconciles = 3
const MaxNodeConcurrentReconciles = 7

// NodeReconciler reconciles a Node object
type NodeReconciler struct {
Expand Down
2 changes: 1 addition & 1 deletion controllers/core/pod_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type PodReconciler struct {

var (
PodRequeueRequest = ctrl.Result{Requeue: true, RequeueAfter: time.Second}
MaxPodConcurrentReconciles = 4
MaxPodConcurrentReconciles = 10
)

// Reconcile handles create/update/delete event by delegating the request to the handler
Expand Down

0 comments on commit bbe40dc

Please sign in to comment.