Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for minAvailable (0.28 sec)

  1. 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)
  2. pkg/controller/disruption/disruption_test.go

    			Name:            "foobar",
    			Namespace:       metav1.NamespaceDefault,
    			ResourceVersion: "18",
    		},
    		Spec: policy.PodDisruptionBudgetSpec{
    			MinAvailable: &minAvailable,
    			Selector:     newSelFooBar(),
    		},
    	}
    
    	pdbName, err := controller.KeyFunc(pdb)
    	if err != nil {
    		t.Fatalf("Unexpected error naming pdb %q: %v", pdb.Name, err)
    	}
    
    	return pdb, pdbName
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers.go

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	var minAvailable string
    	var maxUnavailable string
    	if obj.Spec.MinAvailable != nil {
    		minAvailable = obj.Spec.MinAvailable.String()
    	} else {
    		minAvailable = "N/A"
    	}
    
    	if obj.Spec.MaxUnavailable != nil {
    		maxUnavailable = obj.Spec.MaxUnavailable.String()
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/printers/internalversion/printers_test.go

    					Namespace:         "ns1",
    					Name:              "pdb1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Spec: policy.PodDisruptionBudgetSpec{
    					MinAvailable: &minAvailable,
    				},
    				Status: policy.PodDisruptionBudgetStatus{
    					DisruptionsAllowed: 5,
    				},
    			},
    			// Columns: Name, Min Available, Max Available, Allowed Disruptions, 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)
  7. operator/pkg/apis/istio/v1alpha1/values_types.proto

    //
    // See https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
    message DefaultPodDisruptionBudgetConfig {
      // Controls whether a PodDisruptionBudget with a default minAvailable value of 1 is created for each deployment.
      google.protobuf.BoolValue enabled = 1;
    }
    
    // DefaultResourcesConfig specifies the default k8s resources settings for all Istio control plane components.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    type DefaultPodDisruptionBudgetConfig struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	// Controls whether a PodDisruptionBudget with a default minAvailable value of 1 is created for each deployment.
    	Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    }
    
    func (x *DefaultPodDisruptionBudgetConfig) Reset() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"minAvailable": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  10. api/openapi-spec/swagger.json

            },
            "minAvailable": {
              "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top