- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for jobSpec (0.17 sec)
-
pkg/apis/batch/v1/defaults_test.go
"All unspecified and podReplacementPolicyEnabled -> sets all to default values": { original: &batchv1.Job{ Spec: batchv1.JobSpec{ Template: v1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Labels: defaultLabels}, }, }, }, expected: &batchv1.Job{ Spec: batchv1.JobSpec{ Completions: pointer.Int32(1), Parallelism: pointer.Int32(1),
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/controller/job/indexed_job_utils_test.go
job: batch.Job{ Spec: batch.JobSpec{ Completions: ptr.To[int32](2), BackoffLimitPerIndex: ptr.To[int32](0), }, }, pods: []*v1.Pod{ buildPod().indexFailureCount("0").phase(v1.PodFailed).index("0").Pod, }, wantFailedIndexes: nil, }, "pod outside completions is ignored": { job: batch.Job{ Spec: batch.JobSpec{ Completions: ptr.To[int32](2),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
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, CompletionMode: completionModePtr(batch.IndexedCompletion), Completions: ptr.To[int32](10), Parallelism: ptr.To[int32](10), }, }, }
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/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddConversionFunc((*batch.JobSpec)(nil), (*v1.JobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_batch_JobSpec_To_v1_JobSpec(a.(*batch.JobSpec), b.(*v1.JobSpec), scope) }); err != nil { return err } if err := s.AddConversionFunc((*v1.JobSpec)(nil), (*batch.JobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
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/zz_generated.deepcopy.go
*out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. func (in *JobSpec) DeepCopy() *JobSpec { if in == nil { return nil } out := new(JobSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-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) -
pkg/registry/batch/job/storage/storage_test.go
} func validNewJob() *batch.Job { completions := int32(1) parallelism := int32(1) return &batch.Job{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "default", }, Spec: batch.JobSpec{ Completions: &completions, Parallelism: ¶llelism, Selector: &metav1.LabelSelector{ MatchLabels: map[string]string{"a": "b"}, }, ManualSelector: newBool(true), Template: api.PodTemplateSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go
*out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. func (in *JobSpec) DeepCopy() *JobSpec { if in == nil { return nil } out := new(JobSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-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) -
common-protos/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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.1K bytes - Viewed (0) -
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) -
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)