k3s/pkg/controller/job
Kubernetes Submit Queue cf6d59ef38
Merge pull request #60202 from clamoriniere1A/feature/JobBackoffWithParallelism
Automatic merge from submit-queue (batch tested with PRs 60054, 60202, 60219, 58090, 60275). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Improves backoff policy in JobController

**What this PR does / why we need it**:
This PR is fixing the issue: #56853, It improves the "Job backoff policy" when Job is configure to allow parallelism and few pods' Jobs failed but others succeed. 
Now, it checks if the number of pods succeeded increased since the last check. If yes the backoff delay is cleared. 

**Which issue(s) this PR fixes**:
Fixes #56853

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2018-02-23 23:15:37 -08:00
..
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
OWNERS
doc.go
job_controller.go Improves backoff policy in JobController 2018-02-22 10:24:23 +01:00
job_controller_test.go Improves backoff policy in JobController 2018-02-22 10:24:23 +01:00
utils.go Migrate to NewControllerRef from meta/v1 package 2017-08-06 22:43:46 +10:00
utils_test.go make these tests table-driven 2017-08-31 14:08:46 +08:00