- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hasSuccessCriteriaMetCondition (0.23 sec)
-
pkg/controller/job/success_policy.go
} } else if rule.SucceededCount != nil && succeededIndexes.total() >= int(*rule.SucceededCount) { return fmt.Sprintf("%s %d", rulesMatchedMsg, index), true } } return "", false } func hasSuccessCriteriaMetCondition(job *batch.Job) *batch.JobCondition { if feature.DefaultFeatureGate.Enabled(features.JobSuccessPolicy) { successCriteriaMet := findConditionByType(job.Status.Conditions, batch.JobSuccessCriteriaMet)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
var manageJobErr error exceedsBackoffLimit := jobCtx.failed > *job.Spec.BackoffLimit jobCtx.finishedCondition = hasSuccessCriteriaMetCondition(&job) // Given that the Job already has the SuccessCriteriaMet condition, the termination condition already had confirmed in another cycle.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0)