Scaling from 0 pods. #1626
-
In our case, the minimum number of pods are given as 0. So initially, when the messageCount= 5 (default), then the pods are created. The number of pods will increase as the number of messages will increase. I have a question when the number of pods are 0. i.e. there are no pods. Keda will create the pod when there are messages. If we want to scale the pods for each 20 active messages in the queue (messageCount = 20), but we also want if there are no pods (initially), then on first message, the pod should be created. Is this achievable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Normally it should spin up a pod as soon as there are messages. THe message count is more the threshold for adding new instances for the 1 -> n scaling. So what you are looking for, is what we do. But you can easily verify it! |
Beta Was this translation helpful? Give feedback.
Normally it should spin up a pod as soon as there are messages. THe message count is more the threshold for adding new instances for the 1 -> n scaling.
So what you are looking for, is what we do. But you can easily verify it!