- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for MaxFailedIndexes (0.2 sec)
-
pkg/apis/batch/validation/validation.go
} if spec.Completions != nil && spec.MaxFailedIndexes != nil && *spec.MaxFailedIndexes > *spec.Completions { allErrs = append(allErrs, field.Invalid(fldPath.Child("maxFailedIndexes"), *spec.MaxFailedIndexes, "must be less than or equal to completions")) } if spec.MaxFailedIndexes != nil && *spec.MaxFailedIndexes > maxFailedIndexesForIndexedJob {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
BackoffLimitPerIndex *int32 `json:"backoffLimitPerIndex,omitempty"` MaxFailedIndexes *int32 `json:"maxFailedIndexes,omitempty"` Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
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/apis/batch/validation/validation_test.go
}, }, }, "valid parallelism and maxFailedIndexes for high completions when backoffLimitPerIndex is used": { job: batch.Job{ ObjectMeta: validJobObjectMeta, Spec: batch.JobSpec{ Completions: pointer.Int32(100_000), Parallelism: pointer.Int32(100_000), MaxFailedIndexes: pointer.Int32(100_000), BackoffLimitPerIndex: pointer.Int32(1),
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/apis/batch/fuzzer/fuzzer.go
j.ManualSelector = pointer.Bool(c.RandBool()) mode := batch.NonIndexedCompletion if c.RandBool() { mode = batch.IndexedCompletion j.BackoffLimitPerIndex = pointer.Int32(c.Rand.Int31()) j.MaxFailedIndexes = pointer.Int32(c.Rand.Int31()) } if c.RandBool() { j.BackoffLimit = pointer.Int32(math.MaxInt32) } j.CompletionMode = &mode // We're fuzzing the internal JobSpec type, not the v1 type, so we don't
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 3K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
BackoffLimitPerIndex: nil, MaxFailedIndexes: nil, }, }, updatedJob: batch.Job{ ObjectMeta: getValidObjectMeta(0), Spec: batch.JobSpec{ Selector: validSelector, Template: validPodTemplateSpec, BackoffLimitPerIndex: ptr.To[int32](1), MaxFailedIndexes: ptr.To[int32](1), }, }, wantJob: batch.Job{
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/zz_generated.deepcopy.go
**out = **in } if in.BackoffLimitPerIndex != nil { in, out := &in.BackoffLimitPerIndex, &out.BackoffLimitPerIndex *out = new(int32) **out = **in } if in.MaxFailedIndexes != nil { in, out := &in.MaxFailedIndexes, &out.MaxFailedIndexes *out = new(int32) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(v1.LabelSelector) (*in).DeepCopyInto(*out) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 15.6K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go
**out = **in } if in.BackoffLimitPerIndex != nil { in, out := &in.BackoffLimitPerIndex, &out.BackoffLimitPerIndex *out = new(int32) **out = **in } if in.MaxFailedIndexes != nil { in, out := &in.MaxFailedIndexes, &out.MaxFailedIndexes *out = new(int32) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(metav1.LabelSelector) (*in).DeepCopyInto(*out)
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/strategy.go
if !utilfeature.DefaultFeatureGate.Enabled(features.JobBackoffLimitPerIndex) { if oldJob.Spec.BackoffLimitPerIndex == nil { newJob.Spec.BackoffLimitPerIndex = nil } if oldJob.Spec.MaxFailedIndexes == nil { newJob.Spec.MaxFailedIndexes = nil } // We keep pod failure policy rules with FailIndex actions (is any), // since the pod failure policy is immutable. Note that, if the old job
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 18.4K bytes - Viewed (0) -
pkg/apis/batch/v1/zz_generated.conversion.go
out.BackoffLimit = (*int32)(unsafe.Pointer(in.BackoffLimit)) out.BackoffLimitPerIndex = (*int32)(unsafe.Pointer(in.BackoffLimitPerIndex)) out.MaxFailedIndexes = (*int32)(unsafe.Pointer(in.MaxFailedIndexes)) out.Selector = (*metav1.LabelSelector)(unsafe.Pointer(in.Selector)) out.ManualSelector = (*bool)(unsafe.Pointer(in.ManualSelector))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 36.6K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
// This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` // feature gate is enabled (enabled by default). // +optional MaxFailedIndexes *int32 `json:"maxFailedIndexes,omitempty" protobuf:"varint,13,opt,name=maxFailedIndexes"` // TODO enabled it when https://github.com/kubernetes/kubernetes/issues/28486 has been fixed // Optional number of failed pods to retain. // +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)