Skip to content

Commit

Permalink
ScaledJob annotations are applied to child Jobs (kedacore#1253)
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Karasek <[email protected]>
  • Loading branch information
josefkarasek authored Oct 27, 2023
1 parent 7b1f63f commit dc94299
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/docs/2.13/concepts/scaling-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
name: {scaled-job-name}
labels:
my-label: {my-label-value} # Optional. ScaledJob labels are applied to child Jobs
annotations:
autoscaling.keda.sh/paused: true # Optional. Use to pause autoscaling of Jobs
my-annotation: {my-annotation-value} # Optional. ScaledJob annotations are applied to child Jobs
spec:
jobTargetRef:
parallelism: 1 # [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
Expand Down

0 comments on commit dc94299

Please sign in to comment.