Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for CurrentReplicas (0.27 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	conversionTestCases := []struct {
    		currentReplicas                  int32
    		expectedDesiredReplicas          int32
    		hpaMinReplicas                   int32
    		hpaMaxReplicas                   int32
    		expectedConvertedDesiredReplicas int32
    		expectedCondition                string
    		annotation                       string
    	}{
    		{
    			currentReplicas:                  5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation_test.go

    		readyReplicas:   3,
    		currentReplicas: 2,
    		updatedReplicas: 1,
    		expectedErr:     true,
    	}, {
    		name:            "invalid readyReplicas",
    		replicas:        3,
    		readyReplicas:   -1,
    		currentReplicas: 2,
    		updatedReplicas: 1,
    		expectedErr:     true,
    	}, {
    		name:            "invalid currentReplicas",
    		replicas:        3,
    		readyReplicas:   3,
    		currentReplicas: -1,
    		updatedReplicas: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    						Name: "some-rc",
    						Kind: "ReplicationController",
    					},
    					MaxReplicas: 10,
    				},
    				Status: autoscaling.HorizontalPodAutoscalerStatus{
    					CurrentReplicas: 4,
    					DesiredReplicas: 5,
    				},
    			},
    			// Columns: Name, Reference, Targets, MinPods, MaxPods, Replicas, Age
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers.go

    	if obj.Spec.MinReplicas != nil {
    		minPods = fmt.Sprintf("%d", *obj.Spec.MinReplicas)
    	}
    	maxPods := obj.Spec.MaxReplicas
    	currentReplicas := obj.Status.CurrentReplicas
    	row.Cells = append(row.Cells, obj.Name, reference, metrics, minPods, int64(maxPods), int64(currentReplicas), translateTimestampSince(obj.CreationTimestamp))
    	return []metav1.TableRow{row}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control_test.go

    		t.Fatalf("Error getting updated StatefulSet: %v", err)
    	}
    	if err := invariants(set, om); err != nil {
    		t.Error(err)
    	}
    	if set.Status.CurrentReplicas != 3 {
    		t.Fatalf("Failed pod deletion should not update CurrentReplicas: want 3, got %d", set.Status.CurrentReplicas)
    	}
    	if set.Status.CurrentRevision == set.Status.UpdateRevision {
    		t.Error("Failed to create new revision")
    	}
    
    	// delete works
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
    			}
    			m.CurrentReplicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentReplicas |= 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
    - 142.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
    			}
    			m.CurrentReplicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentReplicas |= 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)
  8. staging/src/k8s.io/api/autoscaling/v1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
    			}
    			m.CurrentReplicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentReplicas |= 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
    - 153K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
    			}
    			m.CurrentReplicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentReplicas |= 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
    - 162.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
    			}
    			m.CurrentReplicas = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.CurrentReplicas |= 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
    - 163K bytes
    - Viewed (0)
Back to top