Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Percentage (0.16 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    			},
    			b: evictionapi.ThresholdValue{
    				Percentage: 0.1,
    			},
    			equal: false,
    		},
    		{
    			a: evictionapi.ThresholdValue{
    				Percentage: 0.1,
    			},
    			b: evictionapi.ThresholdValue{
    				Percentage: 0.1,
    			},
    			equal: true,
    		},
    		{
    			a: evictionapi.ThresholdValue{
    				Percentage: 0.2,
    			},
    			b: evictionapi.ThresholdValue{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  2. pkg/config/validation/validation_test.go

    			},
    		}, valid: false},
    		{name: "valid percentage", in: &networking.HTTPFaultInjection_Abort{
    			Percentage: &networking.Percent{
    				Value: 0.001,
    			},
    			ErrorType: &networking.HTTPFaultInjection_Abort_HttpStatus{
    				HttpStatus: 200,
    			},
    		}, valid: true},
    		{name: "invalid fractional percent", in: &networking.HTTPFaultInjection_Abort{
    			Percentage: &networking.Percent{
    				Value: -10.0,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    	if val < 0 || val > 100 {
    		return fmt.Errorf("percentage %v is not in range 0..100", val)
    	}
    	return nil
    }
    
    // validatePercentage checks if the specified fractional percentage is valid.
    func validatePercentage(percentage *networking.Percent) error {
    	if percentage != nil {
    		if percentage.Value < 0.0 || percentage.Value > 100.0 || (percentage.Value > 0.0 && percentage.Value < 0.0001) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    fixedDelay - required: - exponentialDelay properties: exponentialDelay: type: string fixedDelay: description: Add a fixed delay before forwarding the request. type: string percent: description: Percentage of requests on which the delay will be injected (0-100). format: int32 type: integer percentage: description: Percentage of requests on which the delay will be injected. properties: value: format: double type: number type: object type: object type: object headers: properties: request: properties: add: additionalProperties:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/horizontal_test.go

    			if tc.verifyCPUCurrent {
    				if utilization := findCpuUtilization(obj.Status.CurrentMetrics); assert.NotNil(t, utilization, "the reported CPU utilization percentage should be non-nil") {
    					assert.Equal(t, tc.CPUCurrent, *utilization, "the report CPU utilization percentage should be as expected")
    				}
    			}
    			actualConditions := obj.Status.Conditions
    			// TODO: it's ok not to sort these because statusOk
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/common/routing.go

      name: default
    spec:
      hosts:
      - {{ (index .dst 0).Config.Service }}
      http:
      - route:
        - destination:
            host: {{ (index .dst 0).Config.Service }}
        fault:
          abort:
            percentage:
              value: 100
            httpStatus: 418`,
    		opts: echo.CallOptions{
    			Port: echo.Port{
    				Name: "http",
    			},
    			Count: 1,
    			Check: check.Status(http.StatusTeapot),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__autoscaling__v1_openapi.json

              },
              "targetCPUUtilizationPercentage": {
                "description": "targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.",
                "format": "int32",
                "type": "integer"
              }
            },
            "required": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 152.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"available": integerType,
    			}),
    			valid: []string{
    				// validate that if 'min' is a string that it is a percentage
    				`type(self.min) == string && self.min.matches(r'(\d+(\.\d+)?%)')`,
    				// 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: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

            "properties": {
              "averageUtilization": {
                "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type",
                "format": "int32",
                "type": "integer"
              },
              "averageValue": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
Back to top