add --concurrent-horizontal-pod-autoscaler-syncs flag to kube-controller-manager

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
This commit is contained in:
Zbynek Roubalik
2022-03-10 13:00:13 +01:00
parent b307321c0a
commit 1cefcdea2d
11 changed files with 348 additions and 9 deletions

View File

@@ -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