- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for jobSpec (0.14 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
ManagedBy *string `json:"managedBy,omitempty"` } // JobSpecApplyConfiguration constructs an declarative configuration of the JobSpec type for use with // apply. func JobSpec() *JobSpecApplyConfiguration { return &JobSpecApplyConfiguration{} } // WithParallelism sets the Parallelism field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
enableJobSuccessPolicy: true, job: batch.Job{ ObjectMeta: getValidObjectMeta(0), Spec: batch.JobSpec{ Selector: validSelector, Template: validPodTemplateSpec, SuccessPolicy: nil, }, }, updatedJob: batch.Job{ ObjectMeta: getValidObjectMeta(0), Spec: batch.JobSpec{ Selector: validSelector, Template: validPodTemplateSpec,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
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/apis/batch/validation/validation_test.go
JobTemplate: batch.JobTemplateSpec{ Spec: batch.JobSpec{ Template: validPodTemplateSpec, }, }, }, new: &batch.CronJobSpec{ Schedule: "0 * * * *", TimeZone: nil, ConcurrencyPolicy: batch.AllowConcurrent, JobTemplate: batch.JobTemplateSpec{ Spec: batch.JobSpec{ Template: validPodTemplateSpec, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0) -
pkg/api/job/warnings_test.go
cases := map[string]struct { spec *batch.JobSpec wantWarningsCount int }{ "valid NonIndexed": { spec: &batch.JobSpec{ CompletionMode: completionModePtr(batch.NonIndexedCompletion), Template: validPodTemplate, }, }, "NondIndexed with high completions and parallelism": { spec: &batch.JobSpec{ CompletionMode: completionModePtr(batch.NonIndexedCompletion),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 14:38:42 UTC 2023 - 3.6K bytes - Viewed (0) -
pkg/apis/batch/v1/conversion.go
// here due to the dependency of v1beta1 on v1. func Convert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *v1.JobSpec, s conversion.Scope) error { return autoConvert_batch_JobSpec_To_v1_JobSpec(in, out, s) } func Convert_v1_JobSpec_To_batch_JobSpec(in *v1.JobSpec, out *batch.JobSpec, s conversion.Scope) error { return autoConvert_v1_JobSpec_To_batch_JobSpec(in, out, s)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 11:44:23 UTC 2021 - 1.6K 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/api/job/warnings.go
const ( completionsSoftLimit = 100_000 parallelismSoftLimitForUnlimitedCompletions = 10_000 ) // WarningsForJobSpec produces warnings for fields in the JobSpec. func WarningsForJobSpec(ctx context.Context, path *field.Path, spec, oldSpec *batch.JobSpec) []string { var warnings []string if spec.CompletionMode != nil && *spec.CompletionMode == batch.IndexedCompletion { completions := ptr.Deref(spec.Completions, 0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 11:44:07 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/apis/batch/fuzzer/fuzzer.go
c.FuzzNoCustom(j) // fuzz self without calling this function again // match defaulting if len(j.Labels) == 0 { j.Labels = j.Spec.Template.Labels } }, func(j *batch.JobSpec, c fuzz.Continue) { c.FuzzNoCustom(j) // fuzz self without calling this function again completions := int32(c.Rand.Int31()) parallelism := int32(c.Rand.Int31()) backoffLimit := int32(c.Rand.Int31())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 3K bytes - Viewed (0)