Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for minAvailable (0.17 sec)

  1. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    	// Changing MinAvailable?  OK
    	newMinAvailable := intstr.FromString("28%")
    	newPdb.Spec.MinAvailable = &newMinAvailable
    	Strategy.PrepareForUpdate(ctx, newPdb, pdb)
    	errs = Strategy.ValidateUpdate(ctx, newPdb, pdb)
    	if len(errs) != 0 {
    		t.Errorf("Expected no error updating MinAvailable on poddisruptionbudgets.")
    	}
    
    	// Changing MinAvailable to MaxAvailable? OK
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/policy/v1/types.go

    	// An eviction is allowed if at least "minAvailable" pods selected by
    	// "selector" will still be available after the eviction, i.e. even in the
    	// absence of the evicted pod.  So for example you can prevent all voluntary
    	// evictions by specifying "100%".
    	// +optional
    	MinAvailable *intstr.IntOrString `json:"minAvailable,omitempty" protobuf:"bytes,1,opt,name=minAvailable"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. pkg/controller/disruption/disruption.go

    		}
    	} else if pdb.Spec.MinAvailable != nil {
    		if pdb.Spec.MinAvailable.Type == intstr.Int {
    			desiredHealthy = pdb.Spec.MinAvailable.IntVal
    			expectedCount = int32(len(pods))
    		} else if pdb.Spec.MinAvailable.Type == intstr.String {
    			expectedCount, unmanagedPods, err = dc.getExpectedScale(ctx, pdb, pods)
    			if err != nil {
    				return
    			}
    
    			var minAvailable int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/policy/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.MinAvailable == nil {
    				m.MinAvailable = &intstr.IntOrString{}
    			}
    			if err := m.MinAvailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    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. staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.MinAvailable == nil {
    				m.MinAvailable = &intstr.IntOrString{}
    			}
    			if err := m.MinAvailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    message PodDisruptionBudgetSpec {
      // An eviction is allowed if at least "minAvailable" pods selected by
      // "selector" will still be available after the eviction, i.e. even in the
      // absence of the evicted pod.  So for example you can prevent all voluntary
      // evictions by specifying "100%".
      // +optional
      optional k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/values.yaml

        # ensure Istio control plane components are gradually upgraded or recovered.
        defaultPodDisruptionBudget:
          enabled: true
          # The values aren't mutable due to a current PodDisruptionBudget limitation
          # minAvailable: 1
    
        # A minimal set of requested resources to applied to all deployments so that
        # Horizontal Pod Autoscaler will be able to function (if set).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/values.yaml

        # ensure Istio control plane components are gradually upgraded or recovered.
        defaultPodDisruptionBudget:
          enabled: true
          # The values aren't mutable due to a current PodDisruptionBudget limitation
          # minAvailable: 1
        # A minimal set of requested resources to applied to all deployments so that
        # Horizontal Pod Autoscaler will be able to function (if set).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top