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

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

Kubernetes-commit: 1cefcdea2d6195a794ef122cb7a36614a580d41b
This commit is contained in:
Zbynek Roubalik 2022-03-10 13:00:13 +01:00 committed by Kubernetes Publisher
parent b0a7eb1b1a
commit c76dbc7d64
1 changed files with 3 additions and 0 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