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
update link to Kubernetes Jobs documentation (kedacore#1193)
* update link to Kubernetes Jobs documentation
Signed-off-by: Tom Crasset <[email protected]>
* fix the link to the job template
Signed-off-by: Tom Crasset <[email protected]>
---------
Signed-off-by: Tom Crasset <[email protected]>
Copy file name to clipboardexpand all lines: content/docs/1.4/concepts/scaling-jobs.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ metadata:
29
29
spec:
30
30
scaleType: job
31
31
jobTargetRef:
32
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
33
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
32
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
33
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
34
34
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
35
35
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
36
36
template:
37
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
37
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
Copy file name to clipboardexpand all lines: content/docs/1.5/concepts/scaling-jobs.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,13 @@ metadata:
29
29
spec:
30
30
scaleType: job
31
31
jobTargetRef:
32
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
33
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
32
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
33
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
34
34
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
35
35
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
36
36
template:
37
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
37
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job/)
Copy file name to clipboardexpand all lines: content/docs/2.0/concepts/scaling-jobs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ metadata:
29
29
name: {scaled-job-name}
30
30
spec:
31
31
jobTargetRef:
32
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
33
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
32
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
33
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
34
34
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
35
35
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
36
36
template:
37
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
37
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
successfulJobsHistoryLimit: 5# Optional. Default: 100. How many completed jobs should be kept.
40
40
failedJobsHistoryLimit: 5# Optional. Default: 100. How many failed jobs should be kept.
@@ -54,8 +54,8 @@ You can find all supported triggers [here](../scalers).
54
54
55
55
```yaml
56
56
jobTargetRef:
57
-
parallelism: 1# Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
58
-
completions: 1# Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
57
+
parallelism: 1# Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
58
+
completions: 1# Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
59
59
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
60
60
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
Copy file name to clipboardexpand all lines: content/docs/2.1/concepts/scaling-jobs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ metadata:
29
29
name: {scaled-job-name}
30
30
spec:
31
31
jobTargetRef:
32
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
33
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
32
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
33
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
34
34
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
35
35
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
36
36
template:
37
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
37
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
successfulJobsHistoryLimit: 5# Optional. Default: 100. How many completed jobs should be kept.
40
40
failedJobsHistoryLimit: 5# Optional. Default: 100. How many failed jobs should be kept.
@@ -54,8 +54,8 @@ You can find all supported triggers [here](../scalers).
54
54
55
55
```yaml
56
56
jobTargetRef:
57
-
parallelism: 1# Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
58
-
completions: 1# Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
57
+
parallelism: 1# Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
58
+
completions: 1# Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
59
59
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
60
60
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
Copy file name to clipboardexpand all lines: content/docs/2.10/concepts/scaling-jobs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ metadata:
29
29
name: {scaled-job-name}
30
30
spec:
31
31
jobTargetRef:
32
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
33
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
32
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
33
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
34
34
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
35
35
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
36
36
template:
37
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
37
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
successfulJobsHistoryLimit: 5# Optional. Default: 100. How many completed jobs should be kept.
40
40
failedJobsHistoryLimit: 5# Optional. Default: 100. How many failed jobs should be kept.
@@ -64,8 +64,8 @@ You can find all supported triggers [here](../scalers).
64
64
65
65
```yaml
66
66
jobTargetRef:
67
-
parallelism: 1# Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
68
-
completions: 1# Optional. Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
67
+
parallelism: 1# Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
68
+
completions: 1# Optional. Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
69
69
activeDeadlineSeconds: 600# Optional. Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
70
70
backoffLimit: 6# Optional. Specifies the number of retries before marking this job failed. Defaults to 6
Copy file name to clipboardexpand all lines: content/docs/2.11/concepts/scaling-jobs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,12 @@ metadata:
31
31
autoscaling.keda.sh/paused: true # Optional. Use to pause autoscaling of Jobs
32
32
spec:
33
33
jobTargetRef:
34
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
35
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
34
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
35
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
36
36
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
37
37
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
38
38
template:
39
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
39
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
successfulJobsHistoryLimit: 5# Optional. Default: 100. How many completed jobs should be kept.
42
42
failedJobsHistoryLimit: 5# Optional. Default: 100. How many failed jobs should be kept.
@@ -66,8 +66,8 @@ You can find all supported triggers [here](../scalers).
66
66
67
67
```yaml
68
68
jobTargetRef:
69
-
parallelism: 1# Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
70
-
completions: 1# Optional. Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
69
+
parallelism: 1# Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
70
+
completions: 1# Optional. Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
71
71
activeDeadlineSeconds: 600# Optional. Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
72
72
backoffLimit: 6# Optional. Specifies the number of retries before marking this job failed. Defaults to 6
Copy file name to clipboardexpand all lines: content/docs/2.12/concepts/scaling-jobs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,12 @@ metadata:
31
31
autoscaling.keda.sh/paused: true # Optional. Use to pause autoscaling of Jobs
32
32
spec:
33
33
jobTargetRef:
34
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
35
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
34
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
35
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
36
36
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
37
37
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
38
38
template:
39
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
39
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
successfulJobsHistoryLimit: 5# Optional. Default: 100. How many completed jobs should be kept.
42
42
failedJobsHistoryLimit: 5# Optional. Default: 100. How many failed jobs should be kept.
@@ -66,8 +66,8 @@ You can find all supported triggers [here](../scalers).
66
66
67
67
```yaml
68
68
jobTargetRef:
69
-
parallelism: 1# Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
70
-
completions: 1# Optional. Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
69
+
parallelism: 1# Optional. Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
70
+
completions: 1# Optional. Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
71
71
activeDeadlineSeconds: 600# Optional. Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
72
72
backoffLimit: 6# Optional. Specifies the number of retries before marking this job failed. Defaults to 6
Copy file name to clipboardexpand all lines: content/docs/2.2/concepts/scaling-jobs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ metadata:
29
29
name: {scaled-job-name}
30
30
spec:
31
31
jobTargetRef:
32
-
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
33
-
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
32
+
parallelism: 1# [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
33
+
completions: 1# [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism)
34
34
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
35
35
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
36
36
template:
37
-
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/)
37
+
# describes the [job template](https://kubernetes.io/docs/concepts/workloads/controllers/job)
successfulJobsHistoryLimit: 5# Optional. Default: 100. How many completed jobs should be kept.
40
40
failedJobsHistoryLimit: 5# Optional. Default: 100. How many failed jobs should be kept.
@@ -54,8 +54,8 @@ You can find all supported triggers [here](../scalers).
54
54
55
55
```yaml
56
56
jobTargetRef:
57
-
parallelism: 1# Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
58
-
completions: 1# Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism))
57
+
parallelism: 1# Max number of desired instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
58
+
completions: 1# Desired number of successfully finished instances ([docs](https://kubernetes.io/docs/concepts/workloads/controllers/job/#controlling-parallelism))
59
59
activeDeadlineSeconds: 600# Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
60
60
backoffLimit: 6# Specifies the number of retries before marking this job failed. Defaults to 6
0 commit comments