Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for revisionHistoryLimit (0.47 sec)

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

    						},
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    				},
    			},
    		},
    		{ // Labels change/defaulting test.
    			original: &appsv1.DaemonSet{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"bar": "foo",
    					},
    				},
    				Spec: appsv1.DaemonSetSpec{
    					Template:             defaultTemplate,
    					RevisionHistoryLimit: ptr.To[int32](1),
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1beta1/defaults_test.go

    					},
    					RevisionHistoryLimit: ptr.To[int32](0),
    				},
    			},
    			expected: &appsv1beta1.Deployment{
    				Spec: appsv1beta1.DeploymentSpec{
    					Replicas: ptr.To[int32](5),
    					Strategy: appsv1beta1.DeploymentStrategy{
    						Type: appsv1beta1.RecreateDeploymentStrategyType,
    					},
    					RevisionHistoryLimit:    ptr.To[int32](0),
    					ProgressDeadlineSeconds: ptr.To[int32](600),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta2/defaults_test.go

    						},
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    				},
    			},
    		},
    		{ // Labels change/defaulting test.
    			original: &appsv1beta2.DaemonSet{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"bar": "foo",
    					},
    				},
    				Spec: appsv1beta2.DaemonSetSpec{
    					Template:             defaultTemplate,
    					RevisionHistoryLimit: ptr.To[int32](1),
    				},
    			},
    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/validation/validation.go

    	allErrs = append(allErrs, ValidateDaemonSetUpdateStrategy(&spec.UpdateStrategy, fldPath.Child("updateStrategy"))...)
    	if spec.RevisionHistoryLimit != nil {
    		// zero is a valid RevisionHistoryLimit
    		allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(*spec.RevisionHistoryLimit), fldPath.Child("revisionHistoryLimit"))...)
    	}
    	return allErrs
    }
    
    // ValidateRollingUpdateDaemonSet validates a given RollingUpdateDaemonSet.
    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. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // +optional
      optional int32 minReadySeconds = 5;
    
      // revisionHistoryLimit is the number of old ReplicaSets to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 2.
      // +optional
      optional int32 revisionHistoryLimit = 6;
    
      // paused indicates that the deployment is paused.
      // +optional
      optional bool paused = 7;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // +optional
      optional int32 minReadySeconds = 5;
    
      // revisionHistoryLimit is the number of old ReplicaSets to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 2.
      // +optional
      optional int32 revisionHistoryLimit = 6;
    
      // paused indicates that the deployment is paused.
      // +optional
      optional bool paused = 7;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"updateStrategy":                       "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1/generated.proto

      optional StatefulSetUpdateStrategy updateStrategy = 7;
    
      // revisionHistoryLimit is the maximum number of revisions that will
      // be maintained in the StatefulSet's revision history. The revision history
      // consists of all revisions not represented by a currently applied
      // StatefulSetSpec version. The default value is 10.
      optional int32 revisionHistoryLimit = 8;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/generated.proto

      optional StatefulSetUpdateStrategy updateStrategy = 7;
    
      // revisionHistoryLimit is the maximum number of revisions that will
      // be maintained in the StatefulSet's revision history. The revision history
      // consists of all revisions not represented by a currently applied
      // StatefulSetSpec version. The default value is 10.
      optional int32 revisionHistoryLimit = 8;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      optional StatefulSetUpdateStrategy updateStrategy = 7;
    
      // revisionHistoryLimit is the maximum number of revisions that will
      // be maintained in the StatefulSet's revision history. The revision history
      // consists of all revisions not represented by a currently applied
      // StatefulSetSpec version. The default value is 10.
      optional int32 revisionHistoryLimit = 8;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top