kubernetes/pkg/controller/job
Eric Lin a4ac2e3b63 Clean backoff record earlier
Once received job deletion event, it cleans the backoff records for that
job before enqueueing this job so that we can avoid a race condition
that the syncJob() may incorrect use stale backoff records for a newly created
job with same key.

Co-authored-by: Michal Wozniak <michalwozniak@google.com>
2025-06-06 20:58:34 +00:00
..
config OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
metrics Job: Extend the jobs_finished_total metric reason label with SuccessPolicy and CompletionsReached 2024-07-23 09:29:02 +09:00
util Add util pkg to commonize job util functions 2024-05-07 09:27:46 +00:00
backoff_utils.go check sidecar featuregate in getFinishedTime 2024-06-06 15:46:41 +08:00
backoff_utils_test.go check sidecar featuregate in getFinishedTime 2024-06-06 15:46:41 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
indexed_job_utils.go cleanup after JobPodFailurePolicy is promoted to GA 2024-07-18 10:00:56 +08:00
indexed_job_utils_test.go JobPodFailurePolicy to GA 2024-07-12 17:21:32 +02:00
job_controller.go Clean backoff record earlier 2025-06-06 20:58:34 +00:00
job_controller_test.go Graduate the JobSuccessPolicy to beta 2024-07-23 09:29:06 +09:00
OWNERS Self nominate Kevin Hannon for reviewer for job controller 2023-11-07 13:21:02 -05:00
pod_failure_policy.go Job controller implementation of backoff limit per index (#118009) 2023-07-18 13:44:11 -07:00
pod_failure_policy_test.go Cleanup defer from SetFeatureGateDuringTest function call 2024-04-24 20:25:29 +02:00
success_policy.go Delay setting terminal Job conditions until all pods are terminal 2024-07-11 20:54:09 +02:00
success_policy_test.go Job: Fix a bug that the SuccessCriteriaMet condition is added to the Job with successPolicy even if the JobSuccessPolicy featureGate is disabled 2024-06-12 00:36:36 +09:00
tracking_utils.go add contextual logging to job-controller 2023-06-14 13:40:02 +08:00
tracking_utils_test.go add contextual logging to job-controller 2023-06-14 13:40:02 +08:00