@@ -1011,20 +1011,20 @@ status:
1011
1011
{{< feature-state for_k8s_version="v1.30" state="alpha" >}}
1012
1012
1013
1013
{{< note >}}
1014
- You can only set ` ManagedBy ` field on Jobs if you enable the `JobManagedBy`
1014
+ You can only set the ` managedBy ` field on Jobs if you enable the `JobManagedBy`
1015
1015
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
1016
1016
(disabled by default).
1017
1017
{{< /note >}}
1018
1018
1019
1019
This feature allows you to disable the built-in Job controller, for a specific
1020
1020
Job, and delegate reconciliation of the Job to an external controller.
1021
1021
1022
- By setting a custom value of the `spec.managedBy` field - any value
1023
- other than `kubernetes.io/job-controller` - you indicate the controller which
1024
- reconciles the Job . The value of the field is immutable.
1022
+ You indicate the controller that reconciles the Job by setting a custom value
1023
+ for the `spec.managedBy` field - any value
1024
+ other than `kubernetes.io/job-controller` . The value of the field is immutable.
1025
1025
1026
1026
{{< note >}}
1027
- When using this feature make sure the controller indicated by the field is
1027
+ When using this feature, make sure the controller indicated by the field is
1028
1028
installed, otherwise the Job may not be reconciled at all.
1029
1029
{{< /note >}}
1030
1030
@@ -1043,8 +1043,8 @@ Finally, when developing an external Job controller make sure it does not use th
1043
1043
1044
1044
{{< warning >}}
1045
1045
If you are considering to disable the `JobManagedBy` feature gate, or to
1046
- downgrade the cluster to a version without the feature gate enabled, inspect
1047
- there are no jobs with a custom value of the `spec.managedBy` field. If there
1046
+ downgrade the cluster to a version without the feature gate enabled, check if
1047
+ there are jobs with a custom value of the `spec.managedBy` field. If there
1048
1048
are such jobs, there is a risk that they might be reconciled by two controllers
1049
1049
after the operation : the built-in Job controller and the external controller
1050
1050
indicated by the field value.
0 commit comments