Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Percentage (0.26 sec)

  1. pkg/kubelet/eviction/helpers.go

    			return nil, nil
    		}
    		percentage, err := parsePercentage(val)
    		if err != nil {
    			return nil, err
    		}
    		if percentage < 0 {
    			return nil, fmt.Errorf("eviction percentage threshold %v must be >= 0%%: %s", signal, val)
    		}
    		// percentage is a float and should not be greater than 1 (100%)
    		if percentage > 1 {
    			return nil, fmt.Errorf("eviction percentage threshold %v must be <= 100%%: %s", signal, val)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    		return nil
    	}
    
    	out := xdshttpfault.HTTPFault{}
    	if in.Delay != nil {
    		out.Delay = &xdsfault.FaultDelay{}
    		if in.Delay.Percentage != nil {
    			out.Delay.Percentage = translatePercentToFractionalPercent(in.Delay.Percentage)
    		} else {
    			out.Delay.Percentage = translateIntegerToFractionalPercent(in.Delay.Percent) // nolint: staticcheck
    		}
    		switch d := in.Delay.HttpDelayType.(type) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// The maximum number of pods that can be unavailable during the update.
    	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
    	// Absolute number is calculated from percentage by rounding up. This can not be 0.
    	// Defaults to 1. This field is alpha-level and is only honored by servers that enable the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1/types.go

    	// The maximum number of pods that can be unavailable during the update.
    	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
    	// Absolute number is calculated from percentage by rounding up. This can not be 0.
    	// Defaults to 1. This field is alpha-level and is only honored by servers that enable the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/extensions/v1beta1/types.go

    type RollingUpdateDeployment struct {
    	// The maximum number of pods that can be unavailable during the update.
    	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
    	// Absolute number is calculated from percentage by rounding down.
    	// This can not be 0 if MaxSurge is 0.
    	// By default, a fixed value of 1 is used.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

                    "result": {
                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "dtdurations"
            },
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  7. pkg/controller/disruption/disruption_test.go

    	rs.Spec.Replicas = pointer.Int32(5)
    	update(t, dc.rsStore, rs)
    
    	dc.sync(ctx, pdbName)
    	ps.VerifyPdbStatus(t, pdbName, 0, 1, 3, 5, map[string]metav1.Time{})
    }
    
    // Verify that an percentage MaxUnavailable will recompute allowed disruptions when the scale of
    // the selected pod's controller is modified.
    func TestPercentageMaxUnavailableWithScaling(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"available": integerType,
    			}),
    			expectCost: map[string]int64{
    				// validate that if 'min' is a string that it is a percentage
    				`type(self.min) == string && self.min.matches(r'(\d+(\.\d+)?%)')`: 10,
    				// validate that 'min' can be either a exact value minimum, or a minimum as a percentage of 'available'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/replica_calculator_test.go

    			metricType:    podMetric,
    		},
    	}
    	tc.runTest(t)
    }
    
    // TestComputedToleranceAlgImplementation is a regression test which
    // back-calculates a minimal percentage for downscaling based on a small percentage
    // increase in pod utilization which is calibrated against the tolerance value.
    func TestReplicaCalcComputedToleranceAlgImplementation(t *testing.T) {
    
    	startPods := int32(10)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/horizontal.go

    	}
    
    	metricNameProposal = fmt.Sprintf("%s resource utilization (percentage of request)", resourceName)
    	if sourceType == autoscalingv2.ContainerResourceMetricSourceType {
    		metricNameProposal = fmt.Sprintf("%s container resource utilization (percentage of request)", resourceName)
    	}
    	status := autoscalingv2.MetricValueStatus{
    		AverageUtilization: &percentageProposal,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top