From e86f038b11838935b6073f6ad4567f384a5acca9 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Fri, 10 Jan 2020 20:52:40 +0000 Subject: [PATCH] Remove version checks for Job and CronJob task pages (#18337) * Specify minimum Kubernetes version for Job tasks Ask for v1.8 because CronJob went beta in v1.8 and some of the Job pages reference CronJob. * Drop version check from Job / CronJob task pages. Assume that readers have Kubernetes v1.8 or newer. --- content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md | 3 ++- .../en/docs/tasks/job/coarse-parallel-processing-work-queue.md | 3 ++- .../en/docs/tasks/job/fine-parallel-processing-work-queue.md | 3 ++- content/en/docs/tasks/job/parallel-processing-expansion.md | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md b/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md index d276c464ab..9327afe2a5 100644 --- a/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md +++ b/content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md @@ -1,5 +1,6 @@ --- title: Running Automated Tasks with a CronJob +min-kubernetes-server-version: v1.8 reviewers: - chenopis content_template: templates/task @@ -24,7 +25,7 @@ For more limitations, see [CronJobs](/docs/concepts/workloads/controllers/cron-j {{% capture prerequisites %}} -* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} +* {{< include "task-tutorial-prereqs.md" >}} {{% /capture %}} diff --git a/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md b/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md index a1596831f1..707c5b9850 100644 --- a/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md +++ b/content/en/docs/tasks/job/coarse-parallel-processing-work-queue.md @@ -1,5 +1,6 @@ --- title: Coarse Parallel Processing Using a Work Queue +min-kubernetes-server-version: v1.8 content_template: templates/task weight: 30 --- @@ -30,7 +31,7 @@ Here is an overview of the steps in this example: Be familiar with the basic, non-parallel, use of [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/). -{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} +{{< include "task-tutorial-prereqs.md" >}} {{% /capture %}} diff --git a/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md b/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md index 16b9327c76..26fbbacaa7 100644 --- a/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md +++ b/content/en/docs/tasks/job/fine-parallel-processing-work-queue.md @@ -1,6 +1,7 @@ --- title: Fine Parallel Processing Using a Work Queue content_template: templates/task +min-kubernetes-server-version: v1.8 weight: 40 --- @@ -29,7 +30,7 @@ Here is an overview of the steps in this example: {{% capture prerequisites %}} -{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} +{{< include "task-tutorial-prereqs.md" >}} {{% /capture %}} diff --git a/content/en/docs/tasks/job/parallel-processing-expansion.md b/content/en/docs/tasks/job/parallel-processing-expansion.md index 331d42f2e8..d34f6de23b 100644 --- a/content/en/docs/tasks/job/parallel-processing-expansion.md +++ b/content/en/docs/tasks/job/parallel-processing-expansion.md @@ -1,6 +1,7 @@ --- title: Parallel Processing using Expansions content_template: templates/concept +min-kubernetes-server-version: v1.8 weight: 20 ---