Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for replicaSet (0.22 sec)

  1. pkg/controller/deployment/deployment_controller.go

    		if len(ds) == 0 {
    			return
    		}
    		logger.V(4).Info("Orphan ReplicaSet updated", "replicaSet", klog.KObj(curRS))
    		for _, d := range ds {
    			dc.enqueueDeployment(d)
    		}
    	}
    }
    
    // deleteReplicaSet enqueues the deployment that manages a ReplicaSet when
    // the ReplicaSet is deleted. obj could be an *apps.ReplicaSet, or
    // a DeletionFinalStateUnknown marker item.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/api/apps/v1/types.go

    // +k8s:prerelease-lifecycle-gen:introduced=1.9
    
    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    type ReplicaSet struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// If the Labels of a ReplicaSet are empty, they are defaulted to
    	// be the same as the Pod(s) that the ReplicaSet manages.
    	// Standard object's metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1/generated.proto

      // to be.
      // +optional
      optional RollingUpdateDeployment rollingUpdate = 2;
    }
    
    // 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.
      // Standard object's metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. pkg/apis/apps/v1beta2/defaults_test.go

    	}
    }
    
    func TestSetDefaultReplicaSetReplicas(t *testing.T) {
    	tests := []struct {
    		rs             appsv1beta2.ReplicaSet
    		expectReplicas int32
    	}{
    		{
    			rs: appsv1beta2.ReplicaSet{
    				Spec: appsv1beta2.ReplicaSetSpec{
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{
    							Labels: map[string]string{
    								"foo": "bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. pkg/controller/deployment/deployment_controller_test.go

    		d.Spec.Strategy.RollingUpdate.MaxUnavailable = maxUnavailable
    	}
    	return &d
    }
    
    func newReplicaSet(d *apps.Deployment, name string, replicas int32) *apps.ReplicaSet {
    	return &apps.ReplicaSet{
    		TypeMeta: metav1.TypeMeta{Kind: "ReplicaSet"},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            name,
    			UID:             uuid.NewUUID(),
    			Namespace:       metav1.NamespaceDefault,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1/defaults_test.go

    	}
    }
    
    func TestSetDefaultReplicaSetReplicas(t *testing.T) {
    	tests := []struct {
    		rs             appsv1.ReplicaSet
    		expectReplicas int32
    	}{
    		{
    			rs: appsv1.ReplicaSet{
    				Spec: appsv1.ReplicaSetSpec{
    					Template: v1.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{
    							Labels: map[string]string{
    								"foo": "bar",
    							},
    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/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)
  10. 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)
Back to top