From d7917b51d6cc1d72462c3ad737dea17152d1079d Mon Sep 17 00:00:00 2001 From: Eyal Levin Date: Thu, 4 Oct 2018 03:23:55 +0300 Subject: [PATCH] Update RestartPolicy issue note (#10447) * Update RestartPolicy issue note As far as I understand this issue should be resolved in v1.12.0 * Update text --- .../concepts/workloads/controllers/jobs-run-to-completion.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md b/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md index 9e6ec9f9c9..14a949ff09 100644 --- a/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md +++ b/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md @@ -207,10 +207,7 @@ back-off count is reset if no new failed Pods appear before the Job's next status check. {{< note >}} -**Note:** Due to a known issue [#54870](https://github.com/kubernetes/kubernetes/issues/54870), -when the `.spec.template.spec.restartPolicy` field is set to "`OnFailure`", the -back-off limit may be ineffective. As a short-term workaround, set the restart -policy for the embedded template to "`Never`". +**Note:** Issue [#54870](https://github.com/kubernetes/kubernetes/issues/54870) still exists for versions of Kubernetes prior to version 1.12 {{< /note >}} ## Job Termination and Cleanup