Merge pull request #108501 from zroubalik/hpa

add `--concurrent-horizontal-pod-autoscaler-syncs` flag to kube-controller-manager
This commit is contained in:
Kubernetes Prow Robot
2022-10-17 14:13:18 -07:00
committed by GitHub
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