Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for revisionHistoryLimit (1.17 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. 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)
  5. 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)
  6. pkg/controller/deployment/deployment_controller_test.go

    					Labels: selector,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							Image: "foo/bar",
    						},
    					},
    				},
    			},
    			RevisionHistoryLimit: revisionHistoryLimit,
    		},
    	}
    	if maxSurge != nil {
    		d.Spec.Strategy.RollingUpdate.MaxSurge = maxSurge
    	}
    	if maxUnavailable != nil {
    		d.Spec.Strategy.RollingUpdate.MaxUnavailable = maxUnavailable
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. samples/addons/prometheus.yaml

    spec:
      selector:
        matchLabels:
          app.kubernetes.io/component: server
          app.kubernetes.io/name: prometheus
          app.kubernetes.io/instance: prometheus
      replicas: 1
      revisionHistoryLimit: 10
      strategy:
        type: Recreate
        rollingUpdate: null
      template:
        metadata:
          labels:
            app.kubernetes.io/component: server
            app.kubernetes.io/name: prometheus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      minReadySeconds: 4
      revisionHistoryLimit: 6
      selector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
      template:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.DaemonSet.yaml

        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      minReadySeconds: 4
      revisionHistoryLimit: 6
      selector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
      template:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control.go

    // considered to be live. Non-live revisions are deleted, starting with the revision with the lowest Revision, until
    // only RevisionHistoryLimit revisions remain. If the returned error is nil the operation was successful. This method
    // expects that revisions is sorted when supplied.
    func (ssc *defaultStatefulSetControl) truncateHistory(
    	set *apps.StatefulSet,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top