- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getValidPodsWithFilter (0.52 sec)
-
pkg/controller/job/indexed_job_utils.go
// deleted as the failure count annotation is present in the currently // active pods. activeIndexes := getIndexes(jobCtx.activePods) podsWithDelayedDeletionPerIndex := make(map[int]*v1.Pod) getValidPodsWithFilter(jobCtx, nil, func(p *v1.Pod) bool { if isPodFailed(p, jobCtx.job) { if ix := getCompletionIndex(p.Annotations); ix != unknownCompletionIndex && ix < int(*jobCtx.job.Spec.Completions) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 00:44:53 UTC 2023 - 17.5K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
func getNewFinishedPods(jobCtx *syncJobCtx) (succeededPods, failedPods []*v1.Pod) { succeededPods = getValidPodsWithFilter(jobCtx, jobCtx.uncounted.Succeeded(), func(p *v1.Pod) bool { return p.Status.Phase == v1.PodSucceeded }) failedPods = getValidPodsWithFilter(jobCtx, jobCtx.uncounted.Failed(), func(p *v1.Pod) bool { return isPodFailed(p, jobCtx.job) }) return succeededPods, failedPods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0)