Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,182 for replicas2 (0.51 sec)

  1. pkg/apis/extensions/v1beta1/defaults_test.go

    		rs2, ok := obj2.(*extensionsv1beta1.ReplicaSet)
    		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) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/zz_generated.deepcopy.go

    func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	out.Status = in.Status
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
    func (in *ReplicaSet) DeepCopy() *ReplicaSet {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. docs/site-replication/README.md

    # Automatic Site Replication
    
    This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas. In this situation the set of replica sites are referred to as peer sites or just sites. When site-replication is enabled on a set of sites, the following changes are replicated to all other sites:
    
    - Creation and deletion of buckets and objects
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 21:30:28 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    type ReplicaSetsBySizeNewer []*apps.ReplicaSet
    
    func (o ReplicaSetsBySizeNewer) Len() int      { return len(o) }
    func (o ReplicaSetsBySizeNewer) Swap(i, j int) { o[i], o[j] = o[j], o[i] }
    func (o ReplicaSetsBySizeNewer) Less(i, j int) bool {
    	if *(o[i].Spec.Replicas) == *(o[j].Spec.Replicas) {
    		return ReplicaSetsByCreationTimestamp(o).Less(j, i)
    	}
    	return *(o[i].Spec.Replicas) > *(o[j].Spec.Replicas)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/example/types.go

    // ReplicaSetSpec is the specification of a ReplicaSet.
    // As the internal representation of a ReplicaSet, it must have
    // a Template set.
    type ReplicaSetSpec struct {
    	// Replicas is the number of desired replicas.
    	Replicas int32
    }
    
    // ReplicaSetStatus represents the current status of a ReplicaSet.
    type ReplicaSetStatus struct {
    	// Replicas is the number of actual replicas.
    	Replicas int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 03 06:34:52 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  6. pkg/controller/deployment/progress_test.go

    )
    
    func newDeploymentStatus(replicas, updatedReplicas, availableReplicas int32) apps.DeploymentStatus {
    	return apps.DeploymentStatus{
    		Replicas:          replicas,
    		UpdatedReplicas:   updatedReplicas,
    		AvailableReplicas: availableReplicas,
    	}
    }
    
    // assumes the retuned deployment is always observed - not needed to be tested here.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.pb.go

    const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    
    func (m *ReplicaSet) Reset()      { *m = ReplicaSet{} }
    func (*ReplicaSet) ProtoMessage() {}
    func (*ReplicaSet) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c0d8f6d73eb5bf83, []int{0}
    }
    func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1beta2/defaults_test.go

    		obj2 := roundTrip(t, runtime.Object(rs))
    		rs2, ok := obj2.(*appsv1beta2.ReplicaSet)
    		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)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller_test.go

    	noTimestamp = metav1.Time{}
    )
    
    func rs(name string, replicas int32, selector map[string]string, timestamp metav1.Time) *apps.ReplicaSet {
    	return &apps.ReplicaSet{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:              name,
    			CreationTimestamp: timestamp,
    			Namespace:         metav1.NamespaceDefault,
    		},
    		Spec: apps.ReplicaSetSpec{
    			Replicas: ptr.To(replicas),
    			Selector: &metav1.LabelSelector{MatchLabels: selector},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  10. pkg/apis/apps/v1/defaults_test.go

    		obj2 := roundTrip(t, runtime.Object(rs))
    		rs2, ok := obj2.(*appsv1.ReplicaSet)
    		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)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top