Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 445 for Replicas (0.19 sec)

  1. pkg/registry/core/replicationcontroller/storage/storage_test.go

    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != replicas {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, rc.Spec.Replicas)
    	}
    
    	update.ResourceVersion = rc.ResourceVersion
    	update.Spec.Replicas = 15
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // the replica count to be deleted.
      optional string whenScaled = 2;
    }
    
    // A StatefulSetSpec is the specification of a StatefulSet.
    message StatefulSetSpec {
      // replicas is the desired number of replicas of the given Template.
      // These are replicas in the sense that they are instantiations of the
      // same Template, but individual replicas also have a consistent identity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go

    	status := content["status"].(map[string]interface{})
    
    	if spec["replicas"].(int64) != 7 {
    		t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", spec["replicas"].(int64))
    	}
    	if status["replicas"].(int64) != 7 {
    		t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, status["replicas"].(int64))
    	}
    }
    
    func TestScaleGet(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_control.go

    		}
    	}
    
    	if identityMatches(set, replicas[i]) && storageMatches(set, replicas[i]) && retentionMatch {
    		return false, nil
    	}
    
    	// Make a deep copy so we don't mutate the shared cache
    	replica := replicas[i].DeepCopy()
    	if err := ssc.podControl.UpdateStatefulPod(ctx, updateSet, replica); err != nil {
    		return true, err
    	}
    
    	return false, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // the replica count to be deleted.
      optional string whenScaled = 2;
    }
    
    // A StatefulSetSpec is the specification of a StatefulSet.
    message StatefulSetSpec {
      // replicas is the desired number of replicas of the given Template.
      // These are replicas in the sense that they are instantiations of the
      // same Template, but individual replicas also have a consistent identity.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // the replica count to be deleted.
      optional string whenScaled = 2;
    }
    
    // A StatefulSetSpec is the specification of a StatefulSet.
    message StatefulSetSpec {
      // replicas is the desired number of replicas of the given Template.
      // These are replicas in the sense that they are instantiations of the
      // same Template, but individual replicas also have a consistent identity.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta2/generated.proto

      // the replica count to be deleted.
      optional string whenScaled = 2;
    }
    
    // A StatefulSetSpec is the specification of a StatefulSet.
    message StatefulSetSpec {
      // replicas is the desired number of replicas of the given Template.
      // These are replicas in the sense that they are instantiations of the
      // same Template, but individual replicas also have a consistent identity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1/defaults_test.go

    		if !ok {
    			t.Errorf("unexpected object: %v", rs2)
    			t.FailNow()
    		}
    		if rs2.Spec.Replicas == nil {
    			t.Errorf("unexpected nil Replicas")
    		} else if test.expectReplicas != *rs2.Spec.Replicas {
    			t.Errorf("expected: %d replicas, got: %d", test.expectReplicas, *rs2.Spec.Replicas)
    		}
    	}
    }
    
    func TestDefaultRequestIsNotSetForReplicaSet(t *testing.T) {
    	s := v1.PodSpec{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. pkg/apis/apps/v1beta2/defaults_test.go

    		if !ok {
    			t.Errorf("unexpected object: %v", rs2)
    			t.FailNow()
    		}
    		if rs2.Spec.Replicas == nil {
    			t.Errorf("unexpected nil Replicas")
    		} else if test.expectReplicas != *rs2.Spec.Replicas {
    			t.Errorf("expected: %d replicas, got: %d", test.expectReplicas, *rs2.Spec.Replicas)
    		}
    	}
    }
    
    func TestDefaultRequestIsNotSetForReplicaSet(t *testing.T) {
    	s := v1.PodSpec{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/types.go

    	// to number replicas from an alternate index (eg: 1-indexed) over the default
    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    	//   [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
    	// If unset, defaults to 0. Replica indices will be in the range:
    	//   [0, .spec.replicas).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top