- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WarningsForJobSpec (0.17 sec)
-
pkg/api/job/warnings.go
"k8s.io/utils/ptr" ) 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 {
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/registry/batch/job/strategy.go
warnings = append(warnings, fmt.Sprintf("metadata.name: this is used in Pod names and hostnames, which can result in surprising behavior; a DNS label is recommended: %v", msgs)) } warnings = append(warnings, job.WarningsForJobSpec(ctx, field.NewPath("spec"), &newJob.Spec, nil)...) return warnings } // generateSelectorIfNeeded checks the job's manual selector flag and generates selector labels if the flag is true.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 18.4K bytes - Viewed (0)