add related note with pod deleted (#14709)
* feat: add job application has some error and restartPolicy is not Nerver pod will be delete note * feat: optimize delete pods related suggestion * Update jobs-run-to-completion.md
This commit is contained in:
parent
04f568d3a0
commit
b237842659
|
|
@ -213,6 +213,12 @@ status check.
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
Issue [#54870](https://github.com/kubernetes/kubernetes/issues/54870) still exists for versions of Kubernetes prior to version 1.12
|
Issue [#54870](https://github.com/kubernetes/kubernetes/issues/54870) still exists for versions of Kubernetes prior to version 1.12
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
{{< note >}}
|
||||||
|
If your job has `restartPolicy = "OnFailure"`, keep in mind that your container running the Job
|
||||||
|
will be terminated once the job backoff limit has been reached. This can make debugging the Job's executable more difficult. We suggest setting
|
||||||
|
`restartPolicy = "Never"` when debugging the Job or using a logging system to ensure output
|
||||||
|
from failed Jobs is not lost inadvertently.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
## Job Termination and Cleanup
|
## Job Termination and Cleanup
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue