Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for progressDeadlineSeconds (0.39 sec)

  1. pkg/apis/apps/v1beta1/defaults_test.go

    							MaxSurge:       &defaultIntOrString,
    							MaxUnavailable: &defaultIntOrString,
    						},
    					},
    					RevisionHistoryLimit:    ptr.To[int32](2),
    					ProgressDeadlineSeconds: ptr.To[int32](600),
    					Template:                defaultTemplate,
    				},
    			},
    		},
    		{
    			original: &appsv1beta1.Deployment{
    				Spec: appsv1beta1.DeploymentSpec{
    					Replicas: ptr.To[int32](5),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pkg/controller/deployment/progress_test.go

    		nowFn    func() time.Time
    		expected time.Duration
    	}{
    		{
    			name:     "nil progressDeadlineSeconds specified",
    			d:        currentDeployment(nil, 4, 3, 3, 2, nil),
    			status:   newDeploymentStatus(3, 3, 2),
    			expected: time.Duration(-1),
    		},
    		{
    			name:     "infinite progressDeadlineSeconds specified",
    			d:        currentDeployment(&infinite, 4, 3, 3, 2, nil),
    			status:   newDeploymentStatus(3, 3, 2),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta2/defaults_test.go

    							MaxSurge:       &defaultIntOrString,
    							MaxUnavailable: &defaultIntOrString,
    						},
    					},
    					RevisionHistoryLimit:    ptr.To[int32](10),
    					ProgressDeadlineSeconds: ptr.To[int32](600),
    					Template:                defaultTemplate,
    				},
    			},
    		},
    		{
    			original: &appsv1beta2.Deployment{
    				Spec: appsv1beta2.DeploymentSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. pkg/apis/apps/v1/defaults_test.go

    					},
    					ProgressDeadlineSeconds: ptr.To[int32](30),
    					RevisionHistoryLimit:    ptr.To[int32](2),
    				},
    			},
    			expected: &appsv1.Deployment{
    				Spec: appsv1.DeploymentSpec{
    					Replicas: ptr.To[int32](5),
    					Strategy: appsv1.DeploymentStrategy{
    						Type: appsv1.RecreateDeploymentStrategyType,
    					},
    					ProgressDeadlineSeconds: ptr.To[int32](30),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/api/apps/v1/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.
    	ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty" protobuf:"varint,9,opt,name=progressDeadlineSeconds"`
    }
    
    const (
    	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta1.Deployment.json

            "maxSurge": "maxSurgeValue"
          }
        },
        "minReadySeconds": 5,
        "revisionHistoryLimit": 6,
        "paused": true,
        "rollbackTo": {
          "revision": 1
        },
        "progressDeadlineSeconds": 9
      },
      "status": {
        "observedGeneration": 1,
        "replicas": 2,
        "updatedReplicas": 3,
        "readyReplicas": 7,
        "availableReplicas": 4,
        "unavailableReplicas": 5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Deployment.json

            "maxSurge": "maxSurgeValue"
          }
        },
        "minReadySeconds": 5,
        "revisionHistoryLimit": 6,
        "paused": true,
        "rollbackTo": {
          "revision": 1
        },
        "progressDeadlineSeconds": 9
      },
      "status": {
        "observedGeneration": 1,
        "replicas": 2,
        "updatedReplicas": 3,
        "readyReplicas": 7,
        "availableReplicas": 4,
        "unavailableReplicas": 5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top