From d92c9f2a74f0559ae785fbfb5f3073c36085fdc5 Mon Sep 17 00:00:00 2001 From: Nima Date: Mon, 14 Jun 2021 12:38:28 +0200 Subject: [PATCH 1/3] Fix feature state version for jobs ttl I think this is a typo in the docs and it should be `v1.21` instead of `v1.12` --- content/en/docs/concepts/workloads/controllers/job.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/workloads/controllers/job.md b/content/en/docs/concepts/workloads/controllers/job.md index 9a49e2afd7..1851297922 100644 --- a/content/en/docs/concepts/workloads/controllers/job.md +++ b/content/en/docs/concepts/workloads/controllers/job.md @@ -304,7 +304,7 @@ cleaned up by CronJobs based on the specified capacity-based cleanup policy. ### TTL mechanism for finished Jobs -{{< feature-state for_k8s_version="v1.12" state="alpha" >}} +{{< feature-state for_k8s_version="v1.21" state="alpha" >}} Another way to clean up finished Jobs (either `Complete` or `Failed`) automatically is to use a TTL mechanism provided by a From 8a8427ef5efc70c5a181ea5ca00651df948f1d13 Mon Sep 17 00:00:00 2001 From: Nima Date: Mon, 14 Jun 2021 13:03:23 +0200 Subject: [PATCH 2/3] Change alpha to beta --- content/en/docs/concepts/workloads/controllers/job.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/workloads/controllers/job.md b/content/en/docs/concepts/workloads/controllers/job.md index 1851297922..6c7e713799 100644 --- a/content/en/docs/concepts/workloads/controllers/job.md +++ b/content/en/docs/concepts/workloads/controllers/job.md @@ -304,7 +304,7 @@ cleaned up by CronJobs based on the specified capacity-based cleanup policy. ### TTL mechanism for finished Jobs -{{< feature-state for_k8s_version="v1.21" state="alpha" >}} +{{< feature-state for_k8s_version="v1.21" state="beta" >}} Another way to clean up finished Jobs (either `Complete` or `Failed`) automatically is to use a TTL mechanism provided by a From 42af0d2f58b490a2aa7d1ab160dc1764ab420bc8 Mon Sep 17 00:00:00 2001 From: Nima Date: Tue, 15 Jun 2021 13:52:43 +0200 Subject: [PATCH 3/3] Remove paragraph about TTLAfterFinished feature gate --- content/en/docs/concepts/workloads/controllers/job.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/content/en/docs/concepts/workloads/controllers/job.md b/content/en/docs/concepts/workloads/controllers/job.md index 6c7e713799..5fd1a89c56 100644 --- a/content/en/docs/concepts/workloads/controllers/job.md +++ b/content/en/docs/concepts/workloads/controllers/job.md @@ -342,11 +342,6 @@ If the field is set to `0`, the Job will be eligible to be automatically deleted immediately after it finishes. If the field is unset, this Job won't be cleaned up by the TTL controller after it finishes. -Note that this TTL mechanism is alpha, with feature gate `TTLAfterFinished`. For -more information, see the documentation for -[TTL controller](/docs/concepts/workloads/controllers/ttlafterfinished/) for -finished resources. - ## Job patterns The Job object can be used to support reliable parallel execution of Pods. The Job object is not