• Kubernetes Submit Queue's avatar
    Merge pull request #48075 from clamoriniere1A/feature/job_failure_policy · 73ed961b
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 51335, 51364, 51130, 48075, 50920)
    
    [API] Feature/job failure policy
    
    **What this PR does / why we need it**: Implements the Backoff policy and failed pod limit defined in https://github.com/kubernetes/community/pull/583
    
    **Which issue this PR fixes**: 
    fixes #27997, fixes #30243
    
    **Special notes for your reviewer**:
    This is a WIP PR, I updated the api batchv1.JobSpec in order to prepare the backoff policy implementation in the JobController.
    
    **Release note**:
    ```release-note
    Add backoff policy and failed pod limit for a job
    ```
    73ed961b
job.go 10.7 KB