- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for jobSpec (0.13 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/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/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) -
pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go
j := &batchv1.Job{ TypeMeta: metav1.TypeMeta{Kind: "Job"}, ObjectMeta: metav1.ObjectMeta{ Name: "foobar", Namespace: metav1.NamespaceDefault, }, Spec: batchv1.JobSpec{ Selector: &metav1.LabelSelector{ MatchLabels: map[string]string{"foo": "bar"}, }, Template: corev1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ "foo": "bar",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 18 18:46:26 UTC 2023 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1beta1/generated.proto
// Specification of the desired behavior of the job. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional optional .k8s.io.api.batch.v1.JobSpec spec = 2;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 5.8K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1beta1/generated.proto
// Specification of the desired behavior of the job. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional optional k8s.io.api.batch.v1.JobSpec spec = 2;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1beta1/types.go
// Specification of the desired behavior of the job. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec batchv1.JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` } // +genclient // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +k8s:prerelease-lifecycle-gen:introduced=1.8
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 11:58:57 UTC 2023 - 7.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/health.go
return nil } // Prepare Job job := &batchv1.Job{ ObjectMeta: metav1.ObjectMeta{ GenerateName: prefix + "-", Namespace: ns, }, Spec: batchv1.JobSpec{ BackoffLimit: ptr.To[int32](0), TTLSecondsAfterFinished: ptr.To[int32](int32(timeout.Seconds()) + 5), // Make sure it's more than 'timeout'. Template: v1.PodTemplateSpec{ Spec: v1.PodSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:18:02 UTC 2024 - 8.8K bytes - Viewed (0)