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
This commit is contained in:
@@ -207,10 +207,7 @@ back-off count is reset if no new failed Pods appear before the Job's next
|
|||||||
status check.
|
status check.
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
**Note:** Due to a known issue [#54870](https://github.com/kubernetes/kubernetes/issues/54870),
|
**Note:** Issue [#54870](https://github.com/kubernetes/kubernetes/issues/54870) still exists for versions of Kubernetes prior to version 1.12
|
||||||
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 >}}
|
{{< /note >}}
|
||||||
|
|
||||||
## Job Termination and Cleanup
|
## Job Termination and Cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user