-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KEP-3998: Job success/completion policy #4062
Conversation
tenzen-y
commented
Jun 6, 2023
- One-line PR description: KEP for an API to define when a Job can be declared as succeeded.
- Issue link: Job success/completion policy #3998
- Other comments:
24a688c
to
4fc68f1
Compare
@alculquicondor @mimowo I updated the API design. Can you check this? |
@soltysh Could you take a look at this proposal? |
/wg batch |
Don’t forget to get the ci checks green. Looks like the linter is saying you are missing some fields |
Thanks @kannon92! I will check the CI error. |
Done. |
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
…CronJob ForbidUntilJobSuccessful Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@wojtek-t I addressed all comments. |
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still LGTM
However, both Job level and JobSet level successPolicies would be valuable | ||
since there are some cases in which we want to launch a Job by a single podTemplate. | ||
|
||
<<[UNRESOLVED @tenzen-y: Do we need to make configurable actions? ]>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the purpose of this iteration, these are not unresolved questions. We have concluded that they might be re-evaluated in a future version. You can mention this in the alpha/beta criteria, but you shouldn't leave the UNRESOLVED tags.
Just one more comment from the PRR. I will approve though to not block it and ad hold to have it addressed before submitting. /approve PRR |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: soltysh, tenzen-y, wojtek-t The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold cancel
race condition :) |
The browser is loading this PR so slower, so race conditions often occur :) |
Thank you to everyone! |