Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for revisionHistoryLimit (0.84 sec)

  1. pkg/apis/apps/types.go

    	// Template.
    	UpdateStrategy StatefulSetUpdateStrategy
    
    	// 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.
    	RevisionHistoryLimit *int32
    
    	// Minimum number of seconds for which a newly created pod should be ready
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  2. 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)
  3. pkg/controller/deployment/util/deployment_util.go

    // old replicaSets. These replicaSets are mainly kept with the purpose of rollback.
    // The RevisionHistoryLimit can start from 0 (no retained replicasSet). When set to math.MaxInt32,
    // the Deployment will keep all revisions.
    func HasRevisionHistoryLimit(d *apps.Deployment) bool {
    	return d.Spec.RevisionHistoryLimit != nil && *d.Spec.RevisionHistoryLimit != math.MaxInt32
    }
    
    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. 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)
  5. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 36.6K 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. pkg/controller/deployment/sync.go

    		}
    	}
    	return scaled, rs, err
    }
    
    // cleanupDeployment is responsible for cleaning up a deployment ie. retains all but the latest N old replica sets
    // where N=d.Spec.RevisionHistoryLimit. Old replica sets are older versions of the podtemplate of a deployment kept
    // around by default 1) for historical reasons and 2) for the ability to rollback a deployment.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top