Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 249 for replicaSet (0.19 sec)

  1. pkg/apis/apps/validation/validation_test.go

    			},
    		},
    	}
    	type rcUpdateTest struct {
    		old    apps.ReplicaSet
    		update apps.ReplicaSet
    	}
    	successCases := []rcUpdateTest{{
    		old: apps.ReplicaSet{
    			ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
    			Spec: apps.ReplicaSetSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils.go

    func FilterActiveReplicaSets(replicaSets []*apps.ReplicaSet) []*apps.ReplicaSet {
    	activeFilter := func(rs *apps.ReplicaSet) bool {
    		return rs != nil && *(rs.Spec.Replicas) > 0
    	}
    	return FilterReplicaSets(replicaSets, activeFilter)
    }
    
    type filterRS func(rs *apps.ReplicaSet) bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // This can not be 0 if MaxSurge is 0.
      // Defaults to 25%.
      // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
      // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
      // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
      // that the total number of pods available at all times during the update is at
      // least 70% of desired pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // This can not be 0 if MaxSurge is 0.
      // Defaults to 25%.
      // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
      // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
      // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
      // that the total number of pods available at all times during the update is at
      // least 70% of desired pods.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. pkg/api/testing/defaulting_test.go

    		{Group: "apps", Version: "v1beta2", Kind: "ReplicaSet"}:                                                    {},
    		{Group: "apps", Version: "v1beta2", Kind: "ReplicaSetList"}:                                                {},
    		{Group: "apps", Version: "v1", Kind: "ReplicaSet"}:                                                         {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. pkg/controller/disruption/disruption_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error naming Deployment %q: %v", d.Name, err)
    	}
    
    	return d, dName
    }
    
    func newReplicaSet(t *testing.T, size int32) (*apps.ReplicaSet, string) {
    	rs := &apps.ReplicaSet{
    		TypeMeta: metav1.TypeMeta{APIVersion: "v1"},
    		ObjectMeta: metav1.ObjectMeta{
    			UID:             uuid.NewUUID(),
    			Name:            "foobar",
    			Namespace:       metav1.NamespaceDefault,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. api/discovery/aggregated_v2.json

                  ],
                  "resource": "replicasets",
                  "responseKind": {
                    "group": "",
                    "kind": "ReplicaSet",
                    "version": ""
                  },
                  "scope": "Namespaced",
                  "shortNames": [
                    "rs"
                  ],
                  "singularResource": "replicaset",
                  "subresources": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. pkg/controller/controller_utils_test.go

    	tests := []struct {
    		name            string
    		replicaSets     []*apps.ReplicaSet
    		wantReplicaSets []*apps.ReplicaSet
    	}{
    		{
    			name: "Filters active replica sets",
    			replicaSets: []*apps.ReplicaSet{
    				newReplicaSet("zero", 0, rsUuid),
    				nil,
    				newReplicaSet("foo", 1, rsUuid),
    				newReplicaSet("bar", 2, rsUuid),
    			},
    			wantReplicaSets: []*apps.ReplicaSet{
    				newReplicaSet("foo", 1, rsUuid),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. api/discovery/aggregated_v2beta1.json

                  ],
                  "resource": "replicasets",
                  "responseKind": {
                    "group": "",
                    "kind": "ReplicaSet",
                    "version": ""
                  },
                  "scope": "Namespaced",
                  "shortNames": [
                    "rs"
                  ],
                  "singularResource": "replicaset",
                  "subresources": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/names/controller_names.go

    	JobController                                = "job-controller"
    	DeploymentController                         = "deployment-controller"
    	ReplicaSetController                         = "replicaset-controller"
    	HorizontalPodAutoscalerController            = "horizontal-pod-autoscaler-controller"
    	DisruptionController                         = "disruption-controller"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top