Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Replicas (0.18 sec)

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

    		replicas:          3,
    		readyReplicas:     3,
    		currentReplicas:   2,
    		availableReplicas: int32(-1),
    		expectedErr:       true,
    	}, {
    		name:              "invalid: available replicas greater than replicas",
    		replicas:          3,
    		readyReplicas:     3,
    		currentReplicas:   2,
    		availableReplicas: int32(4),
    		expectedErr:       true,
    	}, {
    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/statefulset/stateful_set_control_test.go

    				}
    			}
    		}
    
    		replicas := *set.Spec.Replicas
    		*set.Spec.Replicas = 0
    		if err := scaleDownStatefulSetControl(set, ssc, om, test.invariants); err != nil {
    			t.Fatalf("%s: %s", test.name, err)
    		}
    		set, err = om.setsLister.StatefulSets(set.Namespace).Get(set.Name)
    		if err != nil {
    			t.Fatalf("%s: %s", test.name, err)
    		}
    		*set.Spec.Replicas = replicas
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal_test.go

    				DesiredReplicas:   tc.prenormalizedDesiredReplicas,
    				CurrentReplicas:   tc.currentReplicas,
    			}
    
    			replicas, condition, _ := hc.convertDesiredReplicasWithBehaviorRate(arg)
    			assert.Equal(t, tc.expectedReplicas, replicas, "expected replicas do not match with converted replicas")
    			assert.Equal(t, tc.expectedCondition, condition, "HPA condition does not match with expected condition")
    		})
    	}
    
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    			if wireType != 0 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
    			}
    			m.Replicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.Replicas |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    			if wireType != 0 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
    			}
    			m.Replicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.Replicas |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    		},
    		// Basic print replication controller with replicas; does not print containers or labels
    		{
    			rc: api.ReplicationController{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "rc1",
    					Namespace: "test-namespace",
    				},
    				Spec: api.ReplicationControllerSpec{
    					Replicas: 5,
    					Selector: map[string]string{"a": "b"},
    					Template: &api.PodTemplateSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/generated.pb.go

    			if wireType != 0 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
    			}
    			m.Replicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.Replicas |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    		{Name: "Desired", Type: "integer", Description: apiv1.ReplicationControllerSpec{}.SwaggerDoc()["replicas"]},
    		{Name: "Current", Type: "integer", Description: apiv1.ReplicationControllerStatus{}.SwaggerDoc()["replicas"]},
    		{Name: "Ready", Type: "integer", Description: apiv1.ReplicationControllerStatus{}.SwaggerDoc()["readyReplicas"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  9. cluster/gce/util.sh

      fi
      set -e
    }
    
    # Prints name of one of the master replicas in the current zone. It will be either
    # just MASTER_NAME or MASTER_NAME with a suffix for a replica (see get-replica-name-regexp).
    #
    # Assumed vars:
    #   PROJECT
    #   ZONE
    #   MASTER_NAME
    #
    # NOTE: Must be in sync with get-replica-name-regexp and set-replica-name.
    function get-replica-name() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v1/generated.pb.go

    		return "nil"
    	}
    	s := strings.Join([]string{`&ScaleSpec{`,
    		`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ScaleStatus) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&ScaleStatus{`,
    		`Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
    		`Selector:` + fmt.Sprintf("%v", this.Selector) + `,`,
    		`}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 153K bytes
    - Viewed (0)
Back to top