Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NonIndexedCompletion (0.33 sec)

  1. pkg/apis/batch/v1/defaults_test.go

    			expected: &batchv1.Job{
    				Spec: batchv1.JobSpec{
    					Completions:    pointer.Int32(1),
    					Parallelism:    pointer.Int32(1),
    					BackoffLimit:   pointer.Int32(6),
    					CompletionMode: completionModePtr(batchv1.NonIndexedCompletion),
    					Suspend:        pointer.Bool(false),
    					ManualSelector: pointer.Bool(false),
    					PodFailurePolicy: &batchv1.PodFailurePolicy{
    						Rules: []batchv1.PodFailurePolicyRule{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. pkg/controller/job/indexed_job_utils.go

    	return len(bci)
    }
    
    func completionModeStr(job *batch.Job) string {
    	if job.Spec.CompletionMode != nil {
    		return string(*job.Spec.CompletionMode)
    	}
    	return string(batch.NonIndexedCompletion)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy.go

    		// below .spec.completions, however, this it is ok if the
    		// status.completedIndexes go beyond completions just after a user scales
    		// down a Job.
    		isIndexed := ptr.Deref(newJob.Spec.CompletionMode, batch.NonIndexedCompletion) == batch.IndexedCompletion
    
    		isJobFinishedChanged := batchvalidation.IsJobFinished(oldJob) != batchvalidation.IsJobFinished(newJob)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. pkg/apis/batch/types.go

    type CompletionMode string
    
    const (
    	// NonIndexedCompletion is a Job completion mode. In this mode, the Job is
    	// considered complete when there have been .spec.completions
    	// successfully completed Pods. Pod completions are homologous to each other.
    	NonIndexedCompletion CompletionMode = "NonIndexed"
    
    	// IndexedCompletion is a Job completion mode. In this mode, the Pods of a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/batch/v1/types.go

    // +enum
    type CompletionMode string
    
    const (
    	// NonIndexedCompletion is a Job completion mode. In this mode, the Job is
    	// considered complete when there have been .spec.completions
    	// successfully completed Pods. Pod completions are homologous to each other.
    	NonIndexedCompletion CompletionMode = "NonIndexed"
    
    	// IndexedCompletion is a Job completion mode. In this mode, the Pods of a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top