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
GIT-110239: fix activeDeadlineSeconds enforcement bug #110294
GIT-110239: fix activeDeadlineSeconds enforcement bug #110294
Conversation
Skipping CI for Draft Pull Request. |
2bf662c
to
4c125cc
Compare
/test all |
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
33f930a
to
c132ccf
Compare
/cc @alculquicondor |
c132ccf
to
caf33cf
Compare
/release-note-edit |
I don't know if that worked. Could you update the issue description with the suggested release note? |
@alculquicondor Done. PTAL. Updated the other PRs with the same |
/hold cancel |
FYI, the test is flaky #110697 |
@alculquicondor taking a look now. |
…of-#110294-upstream-release-1.22-1655134642 Cherry pick of #110294 GIT-110239: fix activeDeadlineSeconds enforcement bug
…of-#110294-upstream-release-1.24-1655134646 Cherry pick of #110294 GIT-110239: fix activeDeadlineSeconds enforcement bug
…of-#110294-upstream-release-1.23-1655134684 Cherry pick of #110294 GIT-110239: fix activeDeadlineSeconds enforcement bug
/remove-sig scheduling |
…gration/job I think I'm ready to start review and LGTM code changes within this package, but not necessarily for the entire sig-apps. My PRs to the packages: kubernetes#110292 kubernetes#111113 kubernetes#112948 PRs to the packages I contributed reviews to: kubernetes#113166 kubernetes#110294
…gration/job I think I'm ready to start review and LGTM code changes within this package, but not necessarily for the entire sig-apps. My PRs to the packages: kubernetes#110292 kubernetes#111113 kubernetes#112948 PRs to the packages I contributed reviews to: kubernetes#113166 kubernetes#110294
…gration/job I think I'm ready to start review and LGTM code changes within this package, but not necessarily for the entire sig-apps. My PRs to the packages: kubernetes#110292 kubernetes#111113 kubernetes#112948 PRs to the packages I contributed reviews to: kubernetes#113166 kubernetes#110294
…equest !670) Cherry pick of kubernetes#110294: fix activeDeadlineSeconds enforcement bug kubernetes#110543
What type of PR is this?
/kind bug
/kind regression
What this PR does / why we need it:
The current implementation of the
job_controller.go
fails to enforce theactiveDeadlineSeconds
configuration properly when theJobReadyPods
feature gate is enabled.This causes the pods taking longer than
activeDeadlineSeconds
to not get deleted on time. When the pods actually do get terminated, it will then track this and mark this asDeadlineExceeded
condition. This is not the documented behaviour ofactiveDeadlineSeconds
. This PR addresses the changes required to fix the same.Which issue(s) this PR fixes:
Fixes #110239
Special notes for your reviewer:
Implementation is based on the suggestion from @alculquicondor in #110239 (comment)
This changes also modifies one of the existing test to make sure the re-queue behaviour is asserted to prevent future regressions.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: