Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for progressDeadlineSeconds (0.28 sec)

  1. pkg/apis/apps/v1/conversion_test.go

    				Replicas:                *replica,
    				ProgressDeadlineSeconds: progressDeadlineSeconds,
    				Template: api.PodTemplateSpec{
    					Spec: api.PodSpec{
    						SecurityContext: new(api.PodSecurityContext),
    					},
    				},
    			},
    			deploymentSpec2: &appsv1.DeploymentSpec{
    				Replicas:                replica,
    				ProgressDeadlineSeconds: progressDeadlineSeconds,
    				Template: v1.PodTemplateSpec{
    					Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1beta2/conversion_test.go

    				Replicas:                *replica,
    				ProgressDeadlineSeconds: progressDeadlineSeconds,
    				Template: api.PodTemplateSpec{
    					Spec: api.PodSpec{
    						SecurityContext: new(api.PodSecurityContext),
    					},
    				},
    			},
    			deploymentSpec2: &v1beta2.DeploymentSpec{
    				Replicas:                replica,
    				ProgressDeadlineSeconds: progressDeadlineSeconds,
    				Template: v1.PodTemplateSpec{
    					Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  3. pkg/controller/deployment/util/deployment_util.go

    	// progress or tried to create a replica set, or resumed a paused deployment and
    	// compare against progressDeadlineSeconds.
    	from := condition.LastUpdateTime
    	now := nowFn()
    	delta := time.Duration(*deployment.Spec.ProgressDeadlineSeconds) * time.Second
    	timedOut := from.Add(delta).Before(now)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  4. pkg/apis/apps/validation/validation.go

    	}
    	if spec.ProgressDeadlineSeconds != nil {
    		allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(*spec.ProgressDeadlineSeconds), fldPath.Child("progressDeadlineSeconds"))...)
    		if *spec.ProgressDeadlineSeconds <= spec.MinReadySeconds {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("progressDeadlineSeconds"), spec.ProgressDeadlineSeconds, "must be greater than minReadySeconds"))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go

    							Default:     "",
    							Type:        []string{"string"},
    							Format:      "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.RollbackTo != nil {
    		in, out := &in.RollbackTo, &out.RollbackTo
    		*out = new(RollbackConfig)
    		**out = **in
    	}
    	if in.ProgressDeadlineSeconds != nil {
    		in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  7. pkg/controller/deployment/util/deployment_util_test.go

    		nowFn func() time.Time
    
    		expected bool
    	}{
    		{
    			name: "nil progressDeadlineSeconds specified - no timeout",
    
    			d:        deployment(apps.DeploymentProgressing, v1.ConditionTrue, "", null, timeFn(1, 9)),
    			nowFn:    func() time.Time { return timeFn(1, 20) },
    			expected: false,
    		},
    		{
    			name: "infinite progressDeadlineSeconds specified - no timeout",
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1beta1/types.go

    	// reason will be surfaced in the deployment status. Note that progress will
    	// not be estimated during the time a deployment is paused. Defaults to 600s.
    	// +optional
    	ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty" protobuf:"varint,9,opt,name=progressDeadlineSeconds"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. pkg/apis/apps/fuzzer/fuzzer.go

    			c.FuzzNoCustom(j) // fuzz self without calling this function again
    			rhl := int32(c.Rand.Int31())
    			pds := int32(c.Rand.Int31())
    			j.RevisionHistoryLimit = &rhl
    			j.ProgressDeadlineSeconds = &pds
    		},
    		func(j *apps.DeploymentStrategy, c fuzz.Continue) {
    			c.FuzzNoCustom(j) // fuzz self without calling this function again
    			// Ensure that strategyType is one of valid values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/zz_generated.deepcopy.go

    	if in.RevisionHistoryLimit != nil {
    		in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	if in.ProgressDeadlineSeconds != nil {
    		in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 23.8K bytes
    - Viewed (0)
Back to top