Open tomkerkhove opened 1 year ago
@neelanjan00 will look in to this
A question, do we want to emit an event for a ScaledJob
scaling from/to 0? If yes, can you suggest at which point during the reconciliation we can check if the runningJobCount
has become zero?
Sorry if it's a dumb question. As far as I understood KEDA doesn't actively scale the ScaledJob
workloads to zero since Kubernetes Jobs are not meant to keep executing, and after they complete executing the number of pods becomes zero.
CC: @tomkerkhove
Hi @tomkerkhove can you PTAL at the above comment? Thanks!
There are no stupid questions so no worries =) Let's leave out ScaledJobs indeed given we do not scale to 0 but only activate new instances when need be
Re-assigned to @SpiritZhou after @neelanjan00's comment on PR - Thanks for effort anyway!
Proposal
Event Types
Payload:
Use-Case
Allow end-users to get notified when workloads are scaling to/from 0.
Anything else?
Relates to https://github.com/kedacore/keda/issues/479