Skip to content

Commit

Permalink
chore: Revert wrong merged PR (kedacore#1183)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Jul 11, 2023
1 parent f14558c commit e792e84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions content/docs/2.11/concepts/scaling-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
name: {scaled-job-name}
labels:
my-label: my-label-value # labels on the ScaledJob will be copied to each Job
annotations:
autoscaling.keda.sh/paused: true # Optional. Use to pause autoscaling of Jobs
my-annotation: my-annotation-value # annotations on the ScaledJob will be copied to each Job
spec:
jobTargetRef:
parallelism: 1 # [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
Expand Down Expand Up @@ -67,17 +64,6 @@ You can find all supported triggers [here](../scalers).

## Details

```yaml
labels:
my-label: my-label-value # labels on the ScaledJob will be passed to the Job
annotations:
my-annotation: my-annotation-value # annotations on the ScaledJob will be passed to the Job
```
The labels and annotations of the ScaledJob will be copied to each Job created.
---
```yaml
jobTargetRef:
parallelism: 1 # Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
Expand Down
14 changes: 0 additions & 14 deletions content/docs/2.12/concepts/scaling-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
name: {scaled-job-name}
labels:
my-label: my-label-value # labels on the ScaledJob will be copied to each Job
annotations:
autoscaling.keda.sh/paused: true # Optional. Use to pause autoscaling of Jobs
my-annotation: my-annotation-value # annotations on the ScaledJob will be copied to each Job
spec:
jobTargetRef:
parallelism: 1 # [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
Expand Down Expand Up @@ -67,17 +64,6 @@ You can find all supported triggers [here](../scalers).

## Details

```yaml
labels:
my-label: my-label-value # labels on the ScaledJob will be passed to the Job
annotations:
my-annotation: my-annotation-value # annotations on the ScaledJob will be passed to the Job
```
The labels and annotations of the ScaledJob will be copied to each Job created.
---
```yaml
jobTargetRef:
parallelism: 1 # Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
Expand Down

0 comments on commit e792e84

Please sign in to comment.