-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Feature/job failure policy #48075
[API] Feature/job failure policy #48075
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hi @clamoriniere1A. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@kubernetes/sig-apps-api-reviews |
CLA signed |
/ok-to-test |
cc2c9bd
to
8960d0c
Compare
8960d0c
to
9c9ef60
Compare
Hi @soltysh This PR is linked to the proposal “Backoff policy and failed pod limit”: kubernetes/community#583 I started to update the jobcontroller.syncJob() logic, and I have 2 questions regarding the attended behaviours: 2) In order to handle properly the deletion of failed pods when the |
af2642f
to
ee9db60
Compare
Based on reading of the proposal and conventions this is API approved. The PR that enables failedpodslimit will still need API review, although I confirmed it matches the proposal. /approve |
/retest Review the full test history for this PR. |
37bf009
to
044edac
Compare
Add new fields in api v1.JobSpec object for backoff policy - BackoffLimit - FailedPodsLimit fixes: kubernetes/community#583
This commit contains the new version of generated api files linked to the v1.JobSpec modifications in the previous commit after "make update"
044edac
to
2286936
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: clamoriniere1A, smarterclayton, soltysh Associated issue: 27997 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test pull-kubernetes-kubemark-e2e-gce |
/retest |
/test pull-kubernetes-verify |
/retest Review the full test history for this PR. |
@clamoriniere1A: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Automatic merge from submit-queue (batch tested with PRs 51335, 51364, 51130, 48075, 50920) |
Is there a PR with the controller changes? |
merci |
…icy_controller Automatic merge from submit-queue Job failure policy controller support **What this PR does / why we need it**: Start implementing the support of the "Backoff policy and failed pod limit" in the ```JobController``` defined in kubernetes/community#583. This PR depends on a previous PR #48075 that updates the K8s API types. TODO: * [X] Implement ```JobSpec.BackoffLimit``` support * [x] Rebase when #48075 has been merged. * [X] Implement end2end tests implements kubernetes/community#583 **Special notes for your reviewer**: **Release note**: ```release-note Add backoff policy and failed pod limit for a job ```
What this PR does / why we need it: Implements the Backoff policy and failed pod limit defined in kubernetes/community#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: