Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for completion_mode (0.16 sec)

  1. pkg/controller/job/metrics/metrics.go

    			StabilityLevel: metrics.STABLE,
    			Buckets:        metrics.ExponentialBuckets(0.004, 2, 15),
    		},
    		[]string{"completion_mode", "result", "action"},
    	)
    	// JobSyncNum tracks the number of Job syncs. Possible label values:
    	//   completion_mode: Indexed, NonIndexed
    	//   result:          success, error
    	//   action:          reconciling, tracking, pods_created, pods_deleted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/api/job/warnings_test.go

    		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),
    				Template:       validPodTemplate,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 14:38:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go

    	TTLSecondsAfterFinished *int32                                    `json:"ttlSecondsAfterFinished,omitempty"`
    	CompletionMode          *batchv1.CompletionMode                   `json:"completionMode,omitempty"`
    	Suspend                 *bool                                     `json:"suspend,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)
  4. pkg/api/job/warnings.go

    )
    
    // 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)
    		parallelism := ptr.Deref(spec.Parallelism, 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)
  5. pkg/apis/batch/v1/defaults.go

    			obj.Spec.BackoffLimit = utilpointer.Int32(6)
    		}
    	}
    	labels := obj.Spec.Template.Labels
    	if labels != nil && len(obj.Labels) == 0 {
    		obj.Labels = labels
    	}
    	if obj.Spec.CompletionMode == nil {
    		mode := batchv1.NonIndexedCompletion
    		obj.Spec.CompletionMode = &mode
    	}
    	if obj.Spec.Suspend == nil {
    		obj.Spec.Suspend = utilpointer.Bool(false)
    	}
    	if obj.Spec.PodFailurePolicy != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 20:51:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/fingerprinting_chunked_test.cc

                              CreateFingerprintDef(export_dir));
      EXPECT_GT(fingerprint_pb.saved_model_checksum(), 0);
      // We test for multiple fingerprints due to non-determinism when building with
      // different compilation_mode flag options.
      EXPECT_THAT(absl::flat_hash_set<uint64_t>(
                      {906548630859202535U, 9562420523583756263U}),
                  ::testing::Contains(fingerprint_pb.graph_def_program_hash()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. pkg/apis/batch/fuzzer/fuzzer.go

    				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
    			// need to fuzz the nil value.
    			j.Suspend = pointer.Bool(c.RandBool())
    			podReplacementPolicy := batch.TerminatingOrFailed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top