From 2c93c92a5d35ee7747aa0baf30815d327b198f4e Mon Sep 17 00:00:00 2001 From: Michal Wozniak Date: Wed, 16 Oct 2024 10:34:39 +0200 Subject: [PATCH] Update docs as JobManagedBy graduates to Beta --- content/en/docs/concepts/workloads/controllers/job.md | 6 +++--- .../feature-gates/job-managed-by.md | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/workloads/controllers/job.md b/content/en/docs/concepts/workloads/controllers/job.md index 7cd1f5b928..901660fa30 100644 --- a/content/en/docs/concepts/workloads/controllers/job.md +++ b/content/en/docs/concepts/workloads/controllers/job.md @@ -695,8 +695,8 @@ triggered and all Pod finalizers were removed. However, some Pods would still be running or terminating at the moment that the terminal condition was added. In Kubernetes v1.31 and later, the controller only adds the Job terminal conditions -_after_ all of the Pods are terminated. You can enable this behavior by using the -`JobManagedBy` or the `JobPodReplacementPolicy` (enabled by default) +_after_ all of the Pods are terminated. You can control this behavior by using the +`JobManagedBy` and the `JobPodReplacementPolicy` (both enabled by default) [feature gates](/docs/reference/command-line-tools-reference/feature-gates/). ### Termination of Job pods @@ -1137,7 +1137,7 @@ status: {{< note >}} You can only set the `managedBy` field on Jobs if you enable the `JobManagedBy` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) -(disabled by default). +(enabled by default). {{< /note >}} This feature allows you to disable the built-in Job controller, for a specific diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates/job-managed-by.md b/content/en/docs/reference/command-line-tools-reference/feature-gates/job-managed-by.md index 38733b6de6..cbf7473814 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates/job-managed-by.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates/job-managed-by.md @@ -10,5 +10,9 @@ stages: - stage: alpha defaultValue: false fromVersion: "1.30" + toVersion: "1.31" + - stage: beta + defaultValue: false + fromVersion: "1.32" --- Allows to delegate reconciliation of a Job object to an external controller.