File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
concepts/workloads/controllers
reference/command-line-tools-reference/feature-gates Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -1006,6 +1006,27 @@ status:
1006
1006
terminating : 3 # three Pods are terminating and have not yet reached the Failed phase
1007
1007
` ` `
1008
1008
1009
+ ### Delegation of managing a Job object to external controller
1010
+
1011
+ {{< feature-state for_k8s_version="v1.30" state="alpha" >}}
1012
+
1013
+ This feature allows you to disable the built-in Job controller, for a specific
1014
+ Job, and delegate reconciliation of the Job to an external controller.
1015
+
1016
+ By setting a custom value of the ` spec.managedBy` field - any value
1017
+ other than `kubernetes.io/job-controller` - you indicate the controller which
1018
+ reconciles the Job. The value of the field is immutable.
1019
+
1020
+ {{< note >}}
1021
+ When using this feature make sure the controller indicated by the field is
1022
+ installed, otherwise the Job may not be reconciled at all.
1023
+ {{< /note >}}
1024
+
1025
+ {{< note >}}
1026
+ When developing an external Job controller make sure it does not use the
1027
+ ` batch.kubernetes.io/job-tracking` finalizer, reserved for the built-in controller.
1028
+ {{< /note >}}
1029
+
1009
1030
# # Alternatives
1010
1031
1011
1032
# ## Bare Pods
Original file line number Diff line number Diff line change 1
1
---
2
- title : JobManagedByLabel
2
+ title : JobManagedBy
3
3
content_type : feature_gate
4
4
5
5
_build :
6
6
list : never
7
7
render : false
8
8
9
9
stages :
10
- - stage : beta
10
+ - stage : alpha
11
11
defaultValue : false
12
12
fromVersion : " 1.30"
13
13
---
You can’t perform that action at this time.
0 commit comments