Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for jobSpec (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
Back to top