Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 110 for revisionHistoryLimit (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/controller/statefulset/stateful_set_utils_test.go

    				WhenScaled:  apps.RetainPersistentVolumeClaimRetentionPolicyType,
    				WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType,
    			},
    			RevisionHistoryLimit: func() *int32 {
    				limit := int32(2)
    				return &limit
    			}(),
    		},
    	}
    }
    
    func newStatefulSet(replicas int32) *apps.StatefulSet {
    	petMounts := []v1.VolumeMount{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  10. common/scripts/metallb-native.yaml

    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      labels:
        app: metallb
        component: controller
      name: controller
      namespace: metallb-system
    spec:
      revisionHistoryLimit: 3
      selector:
        matchLabels:
          app: metallb
          component: controller
      template:
        metadata:
          annotations:
            prometheus.io/port: "7472"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
Back to top