Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 132 for revisionHistoryLimit (2.01 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta1.StatefulSet.yaml

      ordinals:
        start: 1
      persistentVolumeClaimRetentionPolicy:
        whenDeleted: whenDeletedValue
        whenScaled: whenScaledValue
      podManagementPolicy: podManagementPolicyValue
      replicas: 1
      revisionHistoryLimit: 8
      selector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/apps.v1.StatefulSet.json

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

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 58.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 57.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.StatefulSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 58.2K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control_test.go

    			// They're considered as `live`, and truncateHistory only cleans up non-live revisions
    			if len(revisions) > int(*set.Spec.RevisionHistoryLimit)+2 {
    				t.Fatalf("%s: %d greater than limit %d", "", len(revisions), *set.Spec.RevisionHistoryLimit)
    			}
    		}
    	})
    }
    
    func TestStatefulSetControlLimitsHistory(t *testing.T) {
    	type testcase struct {
    		name       string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go

    	"templateGeneration":   "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.",
    	"revisionHistoryLimit": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.",
    }
    
    func (DaemonSetSpec) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

      // The number of old history to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 10.
      // +optional
      optional int32 revisionHistoryLimit = 6;
    }
    
    // DaemonSetStatus represents the current status of a daemon set.
    message DaemonSetStatus {
      // The number of nodes that are running at least 1
      // daemon pod and are supposed to run the daemon pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // The number of old history to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 10.
      // +optional
      optional int32 revisionHistoryLimit = 6;
    }
    
    // DaemonSetStatus represents the current status of a daemon set.
    message DaemonSetStatus {
      // The number of nodes that are running at least 1
      // daemon pod and are supposed to run the daemon pod.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    	nodesToDaemonPods, err := dsc.getNodesToDaemonPods(ctx, ds, true)
    	if err != nil {
    		return fmt.Errorf("couldn't get node to daemon pod mapping for daemon set %q: %v", ds.Name, err)
    	}
    
    	toKeep := int(*ds.Spec.RevisionHistoryLimit)
    	toKill := len(old) - toKeep
    	if toKill <= 0 {
    		return nil
    	}
    
    	// Find all hashes of live pods
    	liveHashes := make(map[string]bool)
    	for _, pods := range nodesToDaemonPods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top