Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for lendablePercent (0.23 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json

            "queuing": {
              "queues": 1,
              "handSize": 2,
              "queueLengthLimit": 3
            }
          },
          "lendablePercent": 3,
          "borrowingLimitPercent": 4
        },
        "exempt": {
          "nominalConcurrencyShares": 1,
          "lendablePercent": 2
        }
      },
      "status": {
        "conditions": [
          {
            "type": "typeValue",
            "status": "statusValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/flowcontrol.apiserver.k8s.io.v1.PriorityLevelConfiguration.yaml

        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      exempt:
        lendablePercent: 2
        nominalConcurrencyShares: 1
      limited:
        borrowingLimitPercent: 4
        lendablePercent: 3
        limitResponse:
          queuing:
            handSize: 2
            queueLengthLimit: 3
            queues: 1
          type: typeValue
        nominalConcurrencyShares: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.29.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json

            "queuing": {
              "queues": 1,
              "handSize": 2,
              "queueLengthLimit": 3
            }
          },
          "lendablePercent": 3,
          "borrowingLimitPercent": 4
        },
        "exempt": {
          "nominalConcurrencyShares": 1,
          "lendablePercent": 2
        }
      },
      "status": {
        "conditions": [
          {
            "type": "typeValue",
            "status": "statusValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/v1/defaults_test.go

    					Type: flowcontrolv1.PriorityLevelEnablementExempt,
    					Exempt: &flowcontrolv1.ExemptPriorityLevelConfiguration{
    						NominalConcurrencyShares: ptr.To(int32(0)),
    						LendablePercent:          ptr.To(int32(0)),
    					},
    				},
    			},
    		},
    		{
    			name: "LendablePercent is not specified in Limited, should default to zero",
    			original: &flowcontrolv1.PriorityLevelConfiguration{
    				Spec: flowcontrolv1.PriorityLevelConfigurationSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/v1beta3/defaults.go

    	if eplc.NominalConcurrencyShares == nil {
    		eplc.NominalConcurrencyShares = ptr.To(int32(0))
    	}
    	if eplc.LendablePercent == nil {
    		eplc.LendablePercent = ptr.To(int32(0))
    	}
    }
    
    func SetDefaults_LimitedPriorityLevelConfiguration(in *v1beta3.LimitedPriorityLevelConfiguration) {
    	if in.LendablePercent == nil {
    		in.LendablePercent = ptr.To(int32(0))
    	}
    }
    
    func SetDefaults_QueuingConfiguration(cfg *v1beta3.QueuingConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    		flowcontrol.PriorityLevelConfigurationSpec{
    			Type: flowcontrol.PriorityLevelEnablementExempt,
    			Exempt: &flowcontrol.ExemptPriorityLevelConfiguration{
    				NominalConcurrencyShares: ptr.To(int32(0)),
    				LendablePercent:          ptr.To(int32(0)),
    			},
    		},
    	)
    	MandatoryPriorityLevelConfigurationCatchAll = newPriorityLevelConfiguration(
    		flowcontrol.PriorityLevelConfigurationNameCatchAll,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1beta1/types.go

    	// as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
    	//
    	// LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )
    	//
    	// +optional
    	LendablePercent *int32 `json:"lendablePercent,omitempty" protobuf:"varint,3,opt,name=lendablePercent"`
    
    	// `borrowingLimitPercent`, if present, configures a limit on how many
    	// seats this priority level can borrow from other priority levels.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  8. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration.go

    		if actual.Spec.Exempt == nil {
    			return false
    		}
    		copiedExpected.Spec.Exempt.NominalConcurrencyShares = actual.Spec.Exempt.NominalConcurrencyShares
    		copiedExpected.Spec.Exempt.LendablePercent = actual.Spec.Exempt.LendablePercent
    	}
    	return equality.Semantic.DeepEqual(copiedExpected.Spec, actual.Spec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1beta1/defaults_test.go

    					Exempt: &flowcontrolv1beta1.ExemptPriorityLevelConfiguration{
    						NominalConcurrencyShares: pointer.Int32(0),
    						LendablePercent:          pointer.Int32(0),
    					},
    				},
    			},
    		},
    		{
    			name: "LendablePercent is not specified, should default to zero",
    			original: &flowcontrolv1beta1.PriorityLevelConfiguration{
    				Spec: flowcontrolv1beta1.PriorityLevelConfigurationSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.json

            "queuing": {
              "queues": 1,
              "handSize": 2,
              "queueLengthLimit": 3
            }
          },
          "lendablePercent": 3,
          "borrowingLimitPercent": 4
        },
        "exempt": {
          "nominalConcurrencyShares": 1,
          "lendablePercent": 2
        }
      },
      "status": {
        "conditions": [
          {
            "type": "typeValue",
            "status": "statusValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top