Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for jobSpec (0.23 sec)

  1. 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)
  2. 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)
  3. pkg/printers/internalversion/printers_test.go

    			job: batch.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "job1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Spec: batch.JobSpec{
    					Completions: &completions,
    					Template: api.PodTemplateSpec{
    						Spec: api.PodSpec{
    							Containers: []api.Container{
    								{
    									Name:  "fake-job-container1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/health.go

    		return nil
    	}
    
    	// Prepare Job
    	job := &batchv1.Job{
    		ObjectMeta: metav1.ObjectMeta{
    			GenerateName: prefix + "-",
    			Namespace:    ns,
    		},
    		Spec: batchv1.JobSpec{
    			BackoffLimit:            ptr.To[int32](0),
    			TTLSecondsAfterFinished: ptr.To[int32](int32(timeout.Seconds()) + 5), // Make sure it's more than 'timeout'.
    			Template: v1.PodTemplateSpec{
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/api/batch/v1beta1/generated.pb.go

    		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
    		`Spec:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Spec), "JobSpec", "v12.JobSpec", 1), `&`, ``, 1) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func valueToStringGenerated(v interface{}) string {
    	rv := reflect.ValueOf(v)
    	if rv.IsNil() {
    		return "nil"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K 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)
  8. pkg/printers/internalversion/printers.go

    		{Name: "Images", Type: "string", Priority: 1, Description: "Images referenced by each container in the template."},
    		{Name: "Selector", Type: "string", Priority: 1, Description: batchv1.JobSpec{}.SwaggerDoc()["selector"]},
    	}
    	_ = h.TableHandler(jobColumnDefinitions, printJob)
    	_ = h.TableHandler(jobColumnDefinitions, printJobList)
    
    	cronJobColumnDefinitions := []metav1.TableColumnDefinition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__batch__v1_openapi.json

              {
                "group": "batch",
                "kind": "JobList",
                "version": "v1"
              }
            ]
          },
          "io.k8s.api.batch.v1.JobSpec": {
            "description": "JobSpec describes how the job execution will look like.",
            "properties": {
              "activeDeadlineSeconds": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  10. pkg/generated/openapi/zz_generated.openapi.go

    							Default:     map[string]interface{}{},
    							Ref:         ref("k8s.io/api/batch/v1.JobSpec"),
    						},
    					},
    				},
    			},
    		},
    		Dependencies: []string{
    			"k8s.io/api/batch/v1.JobSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top