mirror of https://github.com/k3s-io/k3s
![]() Job failure policy integration in JobController. From the JobSpec.BackoffLimit the JobController will define the backoff duration between Job retry. It use the ```workqueue.RateLimitingInterface``` to store the number of "retry" as "requeue" and the default Job backoff initial duration is set during the initialization of the ```workqueue.RateLimiter. Since the number of retry for each job is store in a local structure "JobController.queue" if the JobController restarts the number of retries will be lost and the backoff duration will be reset to 0. Add e2e test for Job backoff failure policy |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
doc.go | ||
job_controller.go | ||
job_controller_test.go | ||
utils.go | ||
utils_test.go |