Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for jobTemplate (0.23 sec)

  1. pkg/api/testing/defaulting_test.go

    		{Group: "batch", Version: "v1beta1", Kind: "JobTemplate"}:                                                  {},
    		{Group: "batch", Version: "v2alpha1", Kind: "CronJob"}:                                                     {},
    		{Group: "batch", Version: "v2alpha1", Kind: "CronJobList"}:                                                 {},
    		{Group: "batch", Version: "v2alpha1", Kind: "JobTemplate"}:                                                 {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // not apply to already started executions.  Defaults to false.
      // +optional
      optional bool suspend = 4;
    
      // Specifies the job that will be created when executing a CronJob.
      optional JobTemplateSpec jobTemplate = 5;
    
      // The number of successful finished jobs to retain.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 3.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go

    	"suspend":                    "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.",
    	"jobTemplate":                "Specifies the job that will be created when executing a CronJob.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 11:58:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. pkg/kube/inject/webhook_test.go

    		}
    	}
    	switch o := obj.(type) {
    	case *corev1.Pod:
    		return o
    	case *batchv1.CronJob:
    		o.Spec.JobTemplate.Spec.Template.ObjectMeta = simulateOwnerRef(o.Spec.JobTemplate.Spec.Template.ObjectMeta, o.Name, gvk)
    		return &corev1.Pod{
    			ObjectMeta: o.Spec.JobTemplate.Spec.Template.ObjectMeta,
    			Spec:       o.Spec.JobTemplate.Spec.Template.Spec,
    		}
    	case *appsv1.DaemonSet:
    		return defaultConversion(o.Spec.Template, o.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  5. staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go

    		*out = new(int64)
    		**out = **in
    	}
    	if in.Suspend != nil {
    		in, out := &in.Suspend, &out.Suspend
    		*out = new(bool)
    		**out = **in
    	}
    	in.JobTemplate.DeepCopyInto(&out.JobTemplate)
    	if in.SuccessfulJobsHistoryLimit != nil {
    		in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	if in.FailedJobsHistoryLimit != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. pkg/apis/batch/zz_generated.deepcopy.go

    		*out = new(int64)
    		**out = **in
    	}
    	if in.Suspend != nil {
    		in, out := &in.Suspend, &out.Suspend
    		*out = new(bool)
    		**out = **in
    	}
    	in.JobTemplate.DeepCopyInto(&out.JobTemplate)
    	if in.SuccessfulJobsHistoryLimit != nil {
    		in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	if in.FailedJobsHistoryLimit != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types.go

    	// +optional
    	Suspend *bool `json:"suspend,omitempty" protobuf:"varint,4,opt,name=suspend"`
    
    	// Specifies the job that will be created when executing a CronJob.
    	JobTemplate JobTemplateSpec `json:"jobTemplate" protobuf:"bytes,5,opt,name=jobTemplate"`
    
    	// The number of successful finished jobs to retain. Value must be non-negative integer.
    	// Defaults to 3.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. pkg/kube/inject/inject.go

    		}
    		return result, nil
    	}
    
    	// CronJobs have JobTemplates in them, instead of Templates, so we
    	// special case them.
    	switch v := out.(type) {
    	case *batch.CronJob:
    		job := v
    		typeMeta = job.TypeMeta
    		metadata = &job.Spec.JobTemplate.ObjectMeta
    		deploymentMetadata = config.NamespacedName(job)
    		podSpec = &job.Spec.JobTemplate.Spec.Template.Spec
    	case *corev1.Pod:
    		pod := v
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. pkg/apis/batch/validation/validation.go

    	}
    
    	allErrs = append(allErrs, validateConcurrencyPolicy(&spec.ConcurrencyPolicy, fldPath.Child("concurrencyPolicy"))...)
    	allErrs = append(allErrs, ValidateJobTemplateSpec(&spec.JobTemplate, fldPath.Child("jobTemplate"), opts)...)
    
    	if spec.SuccessfulJobsHistoryLimit != nil {
    		// zero is a valid SuccessfulJobsHistoryLimit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/batch.v1beta1.CronJob.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 62.4K bytes
    - Viewed (0)
Back to top