You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm trying to figure out why after all messages in a queue have been processed without reaching the maxReplicaCount it still goes up to maxReplicaCount instead of scaling down
what i want:
scale to 0 if there are no messages in certain queue
scale maximum up to 40, if there are messages in the queue (it doesn't need to be abruptly 40)
scale down of there are no messages in the queue
some extra info:
usually there are no messages in the queue, they get created via another job, like every few hours a few thousands up to many thousands
each messages takes way under a second to process
prefetch count is set to 25
in my test scenario there are ~2700 messages, so really not much
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi there,
i'm trying to figure out why after all messages in a queue have been processed without reaching the
maxReplicaCount
it still goes up tomaxReplicaCount
instead of scaling downwhat i want:
some extra info:
this is my scaled object:
here is what i observed:
now my question: why is it not scaling back to 0, if there are no messages left?
Beta Was this translation helpful? Give feedback.
All reactions