- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for onlyReplaceFailedPods (0.33 sec)
-
pkg/controller/job/indexed_job_utils.go
if count == 0 { return nil } active := getIndexes(jobCtx.activePods) result := make([]int, 0, count) nonPending := jobCtx.succeededIndexes.withOrderedIndexes(sets.List(active)) if onlyReplaceFailedPods(jobCtx.job) { terminating := getIndexes(controller.FilterTerminatingPods(jobCtx.pods)) nonPending = nonPending.withOrderedIndexes(sets.List(terminating)) } if jobCtx.failedIndexes != nil {
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
*jobCtx.terminating += removed } return active, metrics.JobSyncActionPodsDeleted, err } var terminating int32 = 0 if onlyReplaceFailedPods(jobCtx.job) { // For PodFailurePolicy specified but PodReplacementPolicy disabled // we still need to count terminating pods for replica counts // But we will not allow updates to status.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0)