Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for jobSpec (0.24 sec)

  1. pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go

    	j := &batchv1.Job{
    		TypeMeta: metav1.TypeMeta{Kind: "Job"},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foobar",
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: batchv1.JobSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Template: corev1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"foo": "bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 18 18:46:26 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/batch/v1beta1/generated.proto

      // Specification of the desired behavior of the job.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional .k8s.io.api.batch.v1.JobSpec spec = 2;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // Specification of the desired behavior of the job.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional k8s.io.api.batch.v1.JobSpec spec = 2;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/api/batch/v1beta1/types.go

    	// Specification of the desired behavior of the job.
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
    	// +optional
    	Spec batchv1.JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
    }
    
    // +genclient
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 11:58:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top