- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for ConcurrencyPolicy (0.57 sec)
-
pkg/registry/batch/cronjob/strategy_test.go
}, } validCronjobSpec = batch.CronJobSpec{ Schedule: "5 5 * * ?", ConcurrencyPolicy: batch.AllowConcurrent, TimeZone: ptr.To("Asia/Shanghai"), JobTemplate: batch.JobTemplateSpec{ Spec: batch.JobSpec{ Template: validPodTemplateSpec,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 12.2K bytes - Viewed (0) -
pkg/apis/batch/v1/defaults_test.go
if !ok { t.Errorf("%s: unexpected object: %v", name, actual) t.FailNow() } if actual.Spec.ConcurrencyPolicy != expected.Spec.ConcurrencyPolicy { t.Errorf("%s: got different concurrencyPolicy than expected: %v %v", name, actual.Spec.ConcurrencyPolicy, expected.Spec.ConcurrencyPolicy) } if *actual.Spec.Suspend != *expected.Spec.Suspend {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.8K bytes - Viewed (0) -
pkg/apis/batch/v1beta1/zz_generated.conversion.go
out.Schedule = in.Schedule out.TimeZone = (*string)(unsafe.Pointer(in.TimeZone)) out.StartingDeadlineSeconds = (*int64)(unsafe.Pointer(in.StartingDeadlineSeconds)) out.ConcurrencyPolicy = batch.ConcurrencyPolicy(in.ConcurrencyPolicy) out.Suspend = (*bool)(unsafe.Pointer(in.Suspend)) if err := Convert_v1beta1_JobTemplateSpec_To_batch_JobTemplateSpec(&in.JobTemplate, &out.JobTemplate, s); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 20:39:47 UTC 2023 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
// - "Replace": cancels currently running job and replaces it with a new one // +optional ConcurrencyPolicy ConcurrencyPolicy `json:"concurrencyPolicy,omitempty" protobuf:"bytes,3,opt,name=concurrencyPolicy,casttype=ConcurrencyPolicy"` // This flag tells the controller to suspend subsequent executions, it does // not apply to already started executions. Defaults to false.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1beta1/generated.pb.go
if m.Suspend != nil { i-- if *m.Suspend { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- dAtA[i] = 0x20 } i -= len(m.ConcurrencyPolicy) copy(dAtA[i:], m.ConcurrencyPolicy) i = encodeVarintGenerated(dAtA, i, uint64(len(m.ConcurrencyPolicy))) i-- dAtA[i] = 0x1a if m.StartingDeadlineSeconds != nil { i = encodeVarintGenerated(dAtA, i, uint64(*m.StartingDeadlineSeconds)) i--
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 40.2K bytes - Viewed (0) -
pkg/apis/batch/v1/zz_generated.conversion.go
out.Schedule = in.Schedule out.TimeZone = (*string)(unsafe.Pointer(in.TimeZone)) out.StartingDeadlineSeconds = (*int64)(unsafe.Pointer(in.StartingDeadlineSeconds)) 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 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 36.6K bytes - Viewed (0) -
pkg/apis/batch/types.go
FailedJobsHistoryLimit *int32 } // ConcurrencyPolicy describes how the job will be handled. // Only one of the following concurrent policies may be specified. // If none of the following policies is specified, the default one // is AllowConcurrent. type ConcurrencyPolicy string const ( // AllowConcurrent allows CronJobs to run concurrently. AllowConcurrent ConcurrencyPolicy = "Allow"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0) -
pkg/controller/cronjob/utils_test.go
ObjectMeta: metav1.ObjectMeta{ 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"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 22.8K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2.go
t := nextScheduleTimeDuration(cronJob, now, sched) return t, updateStatus, nil } if cronJob.Spec.ConcurrencyPolicy == batchv1.ForbidConcurrent && len(cronJob.Status.Active) > 0 { // Regardless which source of information we use for the set of active jobs, // there is some risk that we won't see an active job when there is one.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.yaml
blockOwnerDeletion: true controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: concurrencyPolicy: concurrencyPolicyValue failedJobsHistoryLimit: 7 jobTemplate: metadata: annotations: annotationsKey: annotationsValue creationTimestamp: "2008-01-01T01:01:01Z"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 40.5K bytes - Viewed (0)