From c76dbc7d6499933df4d334c695bc8f19a4d5cc6c Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik Date: Thu, 10 Mar 2022 13:00:13 +0100 Subject: [PATCH] add `--concurrent-horizontal-pod-autoscaler-syncs` flag to kube-controller-manager Signed-off-by: Zbynek Roubalik Kubernetes-commit: 1cefcdea2d6195a794ef122cb7a36614a580d41b --- config/v1alpha1/types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 7162fb9..3d02f6d 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -315,6 +315,9 @@ type GarbageCollectorControllerConfiguration struct { // HPAControllerConfiguration contains elements describing HPAController. type HPAControllerConfiguration struct { + // ConcurrentHorizontalPodAutoscalerSyncs is the number of HPA objects that are allowed to sync concurrently. + // Larger number = more responsive HPA processing, but more CPU (and network) load. + ConcurrentHorizontalPodAutoscalerSyncs int32 // HorizontalPodAutoscalerSyncPeriod is the period for syncing the number of // pods in horizontal pod autoscaler. HorizontalPodAutoscalerSyncPeriod metav1.Duration