• cedric lamoriniere's avatar
    Job failure policy support in JobController · 1dbef2f1
    cedric lamoriniere authored
    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
    1dbef2f1
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
job_controller.go Loading commit data...
job_controller_test.go Loading commit data...
utils.go Loading commit data...
utils_test.go Loading commit data...