Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for jobTemplate (0.3 sec)

  1. pkg/controller/cronjob/utils_test.go

    			Name:      "mycronjob",
    			Namespace: "snazzycats",
    			UID:       types.UID("1a2b3c"),
    		},
    		Spec: batchv1.CronJobSpec{
    			Schedule:          "* * * * ?",
    			ConcurrencyPolicy: batchv1.AllowConcurrent,
    			JobTemplate: batchv1.JobTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					CreationTimestamp: metav1.Time{Time: scheduledTime},
    					Labels:            map[string]string{"a": "b"},
    				},
    				Spec: batchv1.JobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inject/cronjob.yaml.injected

    apiVersion: batch/v2alpha1
    kind: CronJob
    metadata:
      creationTimestamp: null
      name: hellocron
    spec:
      jobTemplate:
        metadata:
          annotations:
            istio.io/rev: default
            kubectl.kubernetes.io/default-container: hello
            kubectl.kubernetes.io/default-logs-container: hello
            prometheus.io/path: /stats/prometheus
            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. pkg/apis/batch/v1/zz_generated.conversion.go

    	out.ConcurrencyPolicy = batch.ConcurrencyPolicy(in.ConcurrencyPolicy)
    	out.Suspend = (*bool)(unsafe.Pointer(in.Suspend))
    	if err := Convert_v1_JobTemplateSpec_To_batch_JobTemplateSpec(&in.JobTemplate, &out.JobTemplate, s); err != nil {
    		return err
    	}
    	out.SuccessfulJobsHistoryLimit = (*int32)(unsafe.Pointer(in.SuccessfulJobsHistoryLimit))
    	out.FailedJobsHistoryLimit = (*int32)(unsafe.Pointer(in.FailedJobsHistoryLimit))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  4. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top