Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for updatedReplicas (0.22 sec)

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

    		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,
    		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

    		t.Error("Failed to scale statefulset to 3 replicas")
    	}
    	if set.Status.ReadyReplicas != 3 {
    		t.Error("Failed to set ReadyReplicas correctly")
    	}
    	if set.Status.UpdatedReplicas != 3 {
    		t.Error("Failed to set UpdatedReplicas correctly")
    	}
    	// Check all pods have correct pod index label.
    	if utilfeature.DefaultFeatureGate.Enabled(features.PodIndexLabel) {
    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. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

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

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

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

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    	desiredReplicas := obj.Spec.Replicas
    	updatedReplicas := obj.Status.UpdatedReplicas
    	readyReplicas := obj.Status.ReadyReplicas
    	availableReplicas := obj.Status.AvailableReplicas
    	age := translateTimestampSince(obj.CreationTimestamp)
    	containers := obj.Spec.Template.Spec.Containers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "format": "int32",
              "type": "integer"
            },
            "updatedReplicas": {
              "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.",
              "format": "int32",
              "type": "integer"
            }
          },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers_test.go

    			// Columns: Name, ReadyReplicas, UpdatedReplicas, AvailableReplicas, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"test1", "0/5", int64(2), int64(1), "0s"}}},
    		},
    		// Test generate options: Wide.
    		{
    			deployment: testDeployment,
    			options:    printers.GenerateOptions{Wide: true},
    			// Columns: Name, ReadyReplicas, UpdatedReplicas, AvailableReplicas, Age, Containers, Images, Selectors
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top