Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 95 for expectedNodes (0.15 sec)

  1. staging/src/k8s.io/api/policy/v1beta1/types.go

    	DesiredHealthy int32 `json:"desiredHealthy" protobuf:"varint,5,opt,name=desiredHealthy"`
    
    	// total number of pods counted by this disruption budget
    	ExpectedPods int32 `json:"expectedPods" protobuf:"varint,6,opt,name=expectedPods"`
    
    	// Conditions contain conditions for PDB. The disruption controller sets the
    	// DisruptionAllowed condition. The following are known values for the reason field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    		Spec:       pdb.Spec,
    		Status: policy.PodDisruptionBudgetStatus{
    			DisruptionsAllowed: 1,
    			CurrentHealthy:     3,
    			DesiredHealthy:     3,
    			ExpectedPods:       3,
    		},
    	}
    
    	// Nothing in Spec changes: OK
    	Strategy.PrepareForUpdate(ctx, newPdb, pdb)
    	errs = Strategy.ValidateUpdate(ctx, newPdb, pdb)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set_test.go

    				// all of them have been observed.
    				expectedPods = replicas - activePods
    				if expectedPods > int32(burstReplicas) {
    					expectedPods = int32(burstReplicas)
    				}
    				// This validates the ReplicaSet manager sync actually created pods
    				err := validateSyncReplicaSet(&fakePodControl, int(expectedPods), 0, 0)
    				if err != nil {
    					t.Fatal(err)
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/policy/v1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPods", wireType)
    			}
    			m.ExpectedPods = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.ExpectedPods |= 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
    - 45.1K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    	pod2 := output.(*v1.Pod)
    	defaultMode := pod2.Spec.Volumes[0].VolumeSource.Secret.DefaultMode
    	expectedMode := v1.SecretVolumeSourceDefaultMode
    
    	if defaultMode == nil || *defaultMode != expectedMode {
    		t.Errorf("Expected secret DefaultMode %v, got %v", expectedMode, defaultMode)
    	}
    }
    
    func TestSetDefaultConfigMapVolumeSource(t *testing.T) {
    	s := v1.PodSpec{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. hack/lib/test.sh

          result=1
      fi
      if [ "${actualcode}" -ne "${expectedcode}" ]; then
          echo "${bold}${red}"
          echo "$(kube::test::get_caller): FAIL!"
          echo "Return code for ${message}"
          echo "  Expected: ${expectedcode}"
          echo "  Got:      ${actualcode}"
          echo "${reset}${red}"
          caller
          echo "${reset}"
          result=1
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 16:46:34 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

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

      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
      // Conditions contain conditions for PDB. The disruption controller sets the
      // DisruptionAllowed condition. The following are known values for the reason field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. pkg/apis/policy/types.go

    	// current number of healthy pods
    	CurrentHealthy int32
    
    	// minimum desired number of healthy pods
    	DesiredHealthy int32
    
    	// total number of pods counted by this disruption budget
    	ExpectedPods int32
    
    	// Conditions contain conditions for PDB
    	// +optional
    	Conditions []metav1.Condition
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1/types_swagger_doc_generated.go

    	"disruptionsAllowed": "Number of pod disruptions that are currently allowed.",
    	"currentHealthy":     "current number of healthy pods",
    	"desiredHealthy":     "minimum desired number of healthy pods",
    	"expectedPods":       "total number of pods counted by this disruption budget",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 20 23:36:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top