Skip to content

How to scale from 1 to 2 jobs in parallel #1186

Discussion options

You must be logged in to vote

@audunsol

I am also facing the same issue, please find my job.yaml. If i gradually add messages it is not scaling once the existing running pod completes after that only it is scaling. For example, if i have 6 messages in the queue, already 4 pods are running, anyone of the 4 pods completes then it is picking another one from the queue and scaling and remaining 3 messages are still waiting in the queue.

I want like as soon as message arrives in the queue, it should scale one pod. can u please help me to fix this, Thanks.

apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
name: extract-feature-scaledjob
namespace: test
spec:
jobTargetRef:
parallelism: 1 # max number of desired pods
com…

Replies: 6 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@zroubalik
Comment options

@audunsol
Comment options

Comment options

You must be logged in to vote
7 replies
@audunsol
Comment options

@audunsol
Comment options

@zroubalik
Comment options

@TsuyoshiUshio
Comment options

@zroubalik
Comment options

Comment options

You must be logged in to vote
2 replies
@audunsol
Comment options

@GirupaShankari
Comment options

Answer selected by zroubalik
Comment options

You must be logged in to vote
1 reply
@audunsol
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants