KEDA start up performance at scale, over 4k scaled objects #7067
-
|
Hey everyone, I'm running keda with over 4000 scaledobjects. During startup the keda operator intiliazes all the scaled objects with messages like this: Initializing Scaling logic according to ScaledObject Specification. With this amount of scaled objects, the starting up is taking around 35 minutes during which scaling is not working. is there a way to speed up this startup? Or shard the objects between multiple pods? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Answering my own question: There is a env variable we can pass: KEDA_SCALEDOBJECT_CTRL_MAX_RECONCILES, this defaults to 5. Increasing this drastically decreases start up time. |
Beta Was this translation helpful? Give feedback.

Answering my own question:
There is a env variable we can pass: KEDA_SCALEDOBJECT_CTRL_MAX_RECONCILES, this defaults to 5. Increasing this drastically decreases start up time.