Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getIndexAbsoluteFailureCount (0.26 sec)

  1. pkg/controller/job/indexed_job_utils.go

    					return false
    				}
    				if lastPodWithDelayedDeletion, ok := podsWithDelayedDeletionPerIndex[ix]; ok {
    					if getIndexAbsoluteFailureCount(logger, lastPodWithDelayedDeletion) <= getIndexAbsoluteFailureCount(logger, p) && !getFinishedTime(p).Before(getFinishedTime(lastPodWithDelayedDeletion)) {
    						podsWithDelayedDeletionPerIndex[ix] = p
    					}
    				} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  2. pkg/controller/job/backoff_utils.go

    	if lastFailedPod == nil {
    		// There is no previous failed pod for this index
    		return time.Duration(0)
    	}
    	failureCount := getIndexAbsoluteFailureCount(logger, lastFailedPod) + 1
    	lastFailureTime := getFinishedTime(lastFailedPod)
    	return getRemainingTimeForFailuresCount(clock, defaultBackoff, maxBackoff, failureCount, &lastFailureTime)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top