Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for orphanWorker (0.09 sec)

  1. pkg/controller/job/job_controller.go

    		return
    	}
    
    	for i := 0; i < workers; i++ {
    		go wait.UntilWithContext(ctx, jm.worker, time.Second)
    	}
    
    	go wait.UntilWithContext(ctx, jm.orphanWorker, time.Second)
    
    	<-ctx.Done()
    }
    
    // getPodJobs returns a list of Jobs that potentially match a Pod.
    func (jm *Controller) getPodJobs(pod *v1.Pod) []*batch.Job {
    	jobs, err := jm.jobLister.GetPodJobs(pod)
    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