Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for jobSpec (0.26 sec)

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

    		"All unspecified and podReplacementPolicyEnabled -> sets all to default values": {
    			original: &batchv1.Job{
    				Spec: batchv1.JobSpec{
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{Labels: defaultLabels},
    					},
    				},
    			},
    			expected: &batchv1.Job{
    				Spec: batchv1.JobSpec{
    					Completions:          pointer.Int32(1),
    					Parallelism:          pointer.Int32(1),
    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_test.go

    			job: batch.Job{
    				Spec: batch.JobSpec{
    					Completions:          ptr.To[int32](2),
    					BackoffLimitPerIndex: ptr.To[int32](0),
    				},
    			},
    			pods: []*v1.Pod{
    				buildPod().indexFailureCount("0").phase(v1.PodFailed).index("0").Pod,
    			},
    			wantFailedIndexes: nil,
    		},
    		"pod outside completions is ignored": {
    			job: batch.Job{
    				Spec: batch.JobSpec{
    					Completions:          ptr.To[int32](2),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1/generated.proto

      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // items is the list of Jobs.
      repeated Job items = 2;
    }
    
    // JobSpec describes how the job execution will look like.
    message JobSpec {
      // Specifies the maximum desired number of pods the job should
      // run at any given time. The actual number of pods running in steady state will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  4. pkg/apis/batch/types.go

    	// is never evaluated at any time.
    	// When specified it needs to be a positive integer.
    	//
    	// +optional
    	SucceededCount *int32
    }
    
    // JobSpec describes how the job execution will look like.
    type JobSpec struct {
    
    	// Specifies the maximum desired number of pods the job should
    	// run at any given time. The actual number of pods running in steady state will
    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

    	// When specified it needs to be a positive integer.
    	//
    	// +optional
    	SucceededCount *int32 `json:"succeededCount,omitempty" protobuf:"varint,2,opt,name=succeededCount"`
    }
    
    // JobSpec describes how the job execution will look like.
    type JobSpec struct {
    
    	// Specifies the maximum desired number of pods the job should
    	// run at any given time. The actual number of pods running in steady state will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"items":    "items is the list of Jobs.",
    }
    
    func (JobList) SwaggerDoc() map[string]string {
    	return map_JobList
    }
    
    var map_JobSpec = map[string]string{
    	"":                        "JobSpec describes how the job execution will look like.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/utils_test.go

    			JobTemplate: batchv1.JobTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					CreationTimestamp: metav1.Time{Time: scheduledTime},
    					Labels:            map[string]string{"a": "b"},
    				},
    				Spec: batchv1.JobSpec{
    					ActiveDeadlineSeconds: &one,
    					ManualSelector:        &no,
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{
    							Labels: map[string]string{
    								"foo": "bar",
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top