kubernetes/pkg/controller/job
Michal Wozniak b64e5b2d15 Fix the occasional double-counting job_finished_total metric
The reason for the issue is that the metrics were bumped before the
final job status update. In case the update failed the path was
repeated by the next syncJob leading to double-counting of the metrics.

The solution is to delay recording metrics and broadcasting events
after the job status update succeeds.
2022-10-13 17:23:03 +02:00
..
config OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
metrics Revert "Revert "Add metric job_pod_finished"" 2021-09-23 12:56:29 -04:00
doc.go
indexed_job_utils_test.go Track Job Pods completion in status 2021-07-08 17:48:05 +00:00
indexed_job_utils.go Revert "Revert "Add metric job_pod_finished"" 2021-09-23 12:56:29 -04:00
job_controller_test.go Support handling of pod failures with respect to the specified rules 2022-08-04 18:39:08 +02:00
job_controller.go Fix the occasional double-counting job_finished_total metric 2022-10-13 17:23:03 +02:00
OWNERS Add alculquicondor to job OWNERS 2022-08-26 11:29:37 -04:00
pod_failure_policy_test.go Support handling of pod failures with respect to the specified rules 2022-08-04 18:39:08 +02:00
pod_failure_policy.go Support handling of pod failures with respect to the specified rules 2022-08-04 18:39:08 +02:00
tracking_utils_test.go Fix deleting UIDs tracking expectations 2022-08-05 12:37:31 -04:00
tracking_utils.go Merge pull request #111314 from BinacsLee/binacs/cleanup-use-clone-to-avoid-interim-slice 2022-10-04 07:34:22 -07:00
utils_test.go make these tests table-driven 2017-08-31 14:08:46 +08:00
utils.go Fix golint errors in pkg/controller/job 2019-06-12 20:09:57 +02:00