Delay [Pause] scaling during deployment rollout #5594
Unanswered
GoaMind
asked this question in
Q&A / Need Help
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day,
Is there any way to set Keda on pause during deployment rollout? Or at least do not take newly created pods into calculation within X amount of time?
Reason:
It is not a problem when service has max 4 replicas. But when service has 40 replicas, and before deployment worked on 5 replicas, then after rollout deploy - amount of replicas rapidly increased to 40 and then after
stabilizationWindowSeconds
passed, it starts to scale service to same amount of replicas as it was before deploy.I heard about params
--horizontal-pod-autoscaler-cpu-initialization-period
and--horizontal-pod-autoscaler-initial-readiness-delay
, but they seems not working, as with default value, HPA starts to scale up right after deployment startsExample:
What I'm looking for is either to:
Regards,
Evgeny
Beta Was this translation helpful? Give feedback.
All reactions