Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for NominalConcurrencyShares (0.57 sec)

  1. pkg/apis/flowcontrol/v1beta3/defaults_test.go

    						NominalConcurrencyShares: PriorityLevelConfigurationDefaultNominalConcurrencyShares,
    						LendablePercent:          pointer.Int32(0),
    						LimitResponse: flowcontrolv1beta3.LimitResponse{
    							Type: flowcontrolv1beta3.LimitResponseTypeReject,
    						},
    					},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default_test.go

    		}
    	}
    	exemptPL := MandatoryPriorityLevelConfigurationExempt
    	if exemptPL.Spec.Exempt.NominalConcurrencyShares != nil && *exemptPL.Spec.Exempt.NominalConcurrencyShares != 0 {
    		t.Errorf("Expected exempt priority level to have NominalConcurrencyShares==0 but got %d instead", *exemptPL.Spec.Exempt.NominalConcurrencyShares)
    	}
    	if exemptPL.Spec.Exempt.LendablePercent != nil && *exemptPL.Spec.Exempt.LendablePercent != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.yaml

      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
      type: typeValue
    status:
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/v1beta1/defaults.go

    	}
    }
    
    func SetDefaults_ExemptPriorityLevelConfiguration(eplc *v1beta1.ExemptPriorityLevelConfiguration) {
    	if eplc.NominalConcurrencyShares == nil {
    		eplc.NominalConcurrencyShares = new(int32)
    		*eplc.NominalConcurrencyShares = 0
    	}
    	if eplc.LendablePercent == nil {
    		eplc.LendablePercent = new(int32)
    		*eplc.LendablePercent = 0
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/v1beta3/conversion_test.go

    	}{
    		{
    			name: "internal object, NominalConcurrencyShares is 0; v1beta3 object should have the roundtrip annotation set",
    			in: inObjFn(0, map[string]string{
    				"foo": "bar",
    			}),
    			expected: outObjFn(0, map[string]string{
    				"foo": "bar",
    				v1beta3.PriorityLevelPreserveZeroConcurrencySharesKey: "",
    			}),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/validation/validation_test.go

    			NominalConcurrencyShares: 42,
    			LimitResponse: flowcontrol.LimitResponse{
    				Type: flowcontrol.LimitResponseTypeReject},
    		},
    	}
    
    	badExemptSpec1 := flowcontrol.PriorityLevelConfigurationSpec{
    		Type: flowcontrol.PriorityLevelEnablementExempt,
    		Exempt: &flowcontrol.ExemptPriorityLevelConfiguration{
    			NominalConcurrencyShares: pointer.Int32(-1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/v1/defaults_test.go

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

    			limited.NominalConcurrencyShares = PriorityLevelConfigurationDefaultNominalConcurrencyShares
    		}
    	}
    }
    
    func SetDefaults_ExemptPriorityLevelConfiguration(eplc *v1beta3.ExemptPriorityLevelConfiguration) {
    	if eplc.NominalConcurrencyShares == nil {
    		eplc.NominalConcurrencyShares = ptr.To(int32(0))
    	}
    	if eplc.LendablePercent == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.yaml

      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
      type: typeValue
    status:
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta1/conversion.go

    		return err
    	}
    
    	out.NominalConcurrencyShares = in.AssuredConcurrencyShares
    	return nil
    }
    
    // LimitedPriorityLevelConfiguration.AssuredConcurrencyShares has been
    // renamed to NominalConcurrencyShares in v1beta3.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top