- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for BackoffLimit (0.22 sec)
-
pkg/apis/batch/v1/defaults_test.go
validateDefaultInt32(t, "Parallelism", actual.Spec.Parallelism, expected.Spec.Parallelism) validateDefaultInt32(t, "BackoffLimit", actual.Spec.BackoffLimit, expected.Spec.BackoffLimit) if diff := cmp.Diff(expected.Spec.PodFailurePolicy, actual.Spec.PodFailurePolicy); diff != "" { t.Errorf("unexpected diff in errors (-want, +got):\n%s", diff) }
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/fuzzer/fuzzer.go
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()) j.Completions = &completions j.Parallelism = ¶llelism j.BackoffLimit = &backoffLimit j.ManualSelector = pointer.Bool(c.RandBool()) mode := batch.NonIndexedCompletion if c.RandBool() { mode = batch.IndexedCompletion
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 3K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
j.Spec.Parallelism = ¶llelism } else { j.Spec.Parallelism = nil } j.Spec.BackoffLimit = &backoffLimit return j } func newJob(parallelism, completions, backoffLimit int32, completionMode batch.CompletionMode) *batch.Job { return newJobWithName("foobar", parallelism, completions, backoffLimit, completionMode) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/apis/batch/v1/defaults.go
} if obj.Spec.Parallelism == nil { obj.Spec.Parallelism = utilpointer.Int32(1) } if obj.Spec.BackoffLimit == nil { if obj.Spec.BackoffLimitPerIndex != nil { obj.Spec.BackoffLimit = utilpointer.Int32(math.MaxInt32) } else { obj.Spec.BackoffLimit = utilpointer.Int32(6) } } labels := obj.Spec.Template.Labels if labels != nil && len(obj.Labels) == 0 { obj.Labels = labels }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 11 20:51:40 UTC 2023 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
return b } // WithBackoffLimit sets the BackoffLimit field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the BackoffLimit field is set to the value of the last call. func (b *JobSpecApplyConfiguration) WithBackoffLimit(value int32) *JobSpecApplyConfiguration { b.BackoffLimit = &value return b }
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/controller/job/metrics/metrics.go
Name: "job_finished_indexes_total", Help: `The number of finished indexes. Possible values for the status label are: "succeeded", "failed". Possible values for the backoffLimit label are: "perIndex" and "global"`, }, []string{"status", "backoffLimit"}) // JobPodsCreationTotal records the number of pods created by the job controller // based on the reason for their creation (i.e. if PodReplacementPolicy was specified)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
// Specifies the number of retries before marking this job failed. // Defaults to 6 // +optional BackoffLimit *int32 `json:"backoffLimit,omitempty" protobuf:"varint,7,opt,name=backoffLimit"` // Specifies the limit for the number of retries within an // index before marking this index as failed. When enabled the number of // failures per index is kept in the pod's
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1/generated.proto
message PodFailurePolicy { // A list of pod failure policy rules. The rules are evaluated in order. // Once a rule matches a Pod failure, the remaining of the rules are ignored. // When no rule matches the Pod failure, the default handling applies - the // counter of pod failures is incremented and it is checked against // the backoffLimit. At most 20 elements are allowed.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/apis/batch/types.go
// .backoffLimit, represented by the job's .status.failed field, is not // incremented and a replacement pod is created. PodFailurePolicyActionIgnore PodFailurePolicyAction = "Ignore" // This is an action which might be taken on a pod failure - the pod failure // is handled in the default way - the counter towards .backoffLimit,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go
"": "PodFailurePolicy describes how failed pods influence the backoffLimit.", "rules": "A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 27.5K bytes - Viewed (0)