Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 470 for replicaSet (0.34 sec)

  1. pkg/controller/deployment/progress_test.go

    			allRSs: []*apps.ReplicaSet{newRSWithAvailable("bar", 0, 1, 1)},
    			newRS:  newRSWithAvailable("foo", 3, 2, 2),
    		},
    		{
    			name:            "General: do not estimate progress of deployment with only one active ReplicaSet",
    			d:               currentDeployment(&pds, 3, 3, 3, 3, []apps.DeploymentCondition{newRSAvailable}),
    			allRSs:          []*apps.ReplicaSet{newRSWithAvailable("bar", 3, 3, 3)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/controller/deployment/rolling.go

    	return scaled, err
    }
    
    func (dc *DeploymentController) reconcileOldReplicaSets(ctx context.Context, allRSs []*apps.ReplicaSet, oldRSs []*apps.ReplicaSet, newRS *apps.ReplicaSet, deployment *apps.Deployment) (bool, error) {
    	logger := klog.FromContext(ctx)
    	oldPodsCount := deploymentutil.GetReplicaCountForReplicaSets(oldRSs)
    	if oldPodsCount == 0 {
    		// Can't scale down further
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    		return out
    	}
    	makeReplicaSet := func(name string) *example2v1.ReplicaSet {
    		return &example2v1.ReplicaSet{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createReplicaSet := func(obj *example2v1.ReplicaSet) *example2v1.ReplicaSet {
    		key := "replicasets/" + obj.Namespace + "/" + obj.Name
    		out := &example2v1.ReplicaSet{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. 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)
  5. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for
    // more information.
    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    message ReplicaSet {
      // If the Labels of a ReplicaSet are empty, they are defaulted to
      // be the same as the Pod(s) that the ReplicaSet manages.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for
    // more information.
    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    message ReplicaSet {
      // If the Labels of a ReplicaSet are empty, they are defaulted to
      // be the same as the Pod(s) that the ReplicaSet manages.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go

    func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	out.Spec = in.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
    - 6.1K bytes
    - Viewed (0)
  8. pkg/apis/extensions/v1beta1/defaults_test.go

    		}
    	}
    }
    
    func TestSetDefaultReplicaSet(t *testing.T) {
    	tests := []struct {
    		rs             *extensionsv1beta1.ReplicaSet
    		expectLabels   bool
    		expectSelector bool
    	}{
    		{
    			rs: &extensionsv1beta1.ReplicaSet{
    				Spec: extensionsv1beta1.ReplicaSetSpec{
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{
    							Labels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	return map_DeploymentStrategy
    }
    
    var map_ReplicaSet = map[string]string{
    	"":         "ReplicaSet ensures that a specified number of pod replicas are running at any given time.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  10. pkg/scheduler/testing/framework/fake_listers.go

    // ReplicaSetLister implements ControllerLister on []extensions.ReplicaSet for test purposes.
    type ReplicaSetLister []*appsv1.ReplicaSet
    
    // List returns replica sets.
    func (f ReplicaSetLister) List(labels.Selector) ([]*appsv1.ReplicaSet, error) {
    	return f, nil
    }
    
    // GetPodReplicaSets gets the ReplicaSets that have the selector that match the labels on the given pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top