Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pastActiveDeadline (0.35 sec)

  1. pkg/controller/job/job_controller.go

    		return result > 0
    	}
    	return result >= *job.Spec.BackoffLimit
    }
    
    // pastActiveDeadline checks if job has ActiveDeadlineSeconds field set and if
    // it is exceeded. If the job is currently suspended, the function will always
    // return false.
    func (jm *Controller) pastActiveDeadline(job *batch.Job) bool {
    	if job.Spec.ActiveDeadlineSeconds == nil || job.Status.StartTime == nil || jobSuspended(job) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top