Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 322 for bursty (0.08 sec)

  1. pkg/kubelet/images/image_manager_test.go

    	qps            float32
    	burst          int
    	expected       []pullerExpects
    }
    
    func pullerTestCases() []pullerTestCase {
    	return []pullerTestCase{
    		{ // pull missing image
    			testName:       "image missing, pull",
    			containerImage: "missing_image",
    			policy:         v1.PullIfNotPresent,
    			inspectErr:     nil,
    			pullerErr:      nil,
    			qps:            0.0,
    			burst:          0,
    			expected: []pullerExpects{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation.go

    				allowedValues[i] = string(limitType)
    				i++
    			}
    			allErrs = append(allErrs, field.NotSupported(idxPath.Child("type"), limit.Type, allowedValues))
    		}
    		if limit.Burst <= 0 {
    			allErrs = append(allErrs, field.Invalid(idxPath.Child("burst"), limit.Burst, "must be positive"))
    		}
    		if limit.QPS <= 0 {
    			allErrs = append(allErrs, field.Invalid(idxPath.Child("qps"), limit.QPS, "must be positive"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 17:38:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  3. plugin/pkg/admission/eventratelimit/apis/eventratelimit/v1alpha1/zz_generated.conversion.go

    }
    
    func autoConvert_v1alpha1_Limit_To_eventratelimit_Limit(in *Limit, out *eventratelimit.Limit, s conversion.Scope) error {
    	out.Type = eventratelimit.LimitType(in.Type)
    	out.QPS = in.QPS
    	out.Burst = in.Burst
    	out.CacheSize = in.CacheSize
    	return nil
    }
    
    // Convert_v1alpha1_Limit_To_eventratelimit_Limit is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. plugin/pkg/admission/eventratelimit/apis/eventratelimit/v1alpha1/types.go

    	// type of limit. The qps and burst fields are used together to determine if
    	// a particular event query is accepted. The qps determines how many queries
    	// are accepted once the burst amount of queries has been exhausted.
    	QPS int32 `json:"qps"`
    
    	// burst is the burst number of event queries that are allowed for this type
    	// of limit. The qps and burst fields are used together to determine if a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 17:38:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/clientset.go

    // If config's RateLimiter is not set and QPS and Burst are acceptable,
    // NewForConfigAndClient will generate a rate-limiter in configShallowCopy.
    func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset, error) {
    	configShallowCopy := *c
    	if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 {
    		if configShallowCopy.Burst <= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 18:26:20 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. cmd/kubemark/app/hollow_node.go

    	fs.Float32Var(&c.QPS, "kube-api-qps", 10, "QPS indicates the maximum QPS to the apiserver.")
    	fs.IntVar(&c.Burst, "kube-api-burst", 20, "Burst indicates maximum burst for throttle to the apiserver.")
    
    	bindableNodeLabels := cliflag.ConfigurationMap(c.NodeLabels)
    	fs.Var(&bindableNodeLabels, "node-labels", "Additional node labels")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/kubelet/images/helpers.go

    // pulling based on the given QPS and burst limits. If QPS is zero, defaults
    // to no throttling.
    func throttleImagePulling(imageService kubecontainer.ImageService, qps float32, burst int) kubecontainer.ImageService {
    	if qps == 0.0 {
    		return imageService
    	}
    	return &throttledImageService{
    		ImageService: imageService,
    		limiter:      flowcontrol.NewTokenBucketRateLimiter(qps, burst),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/defaults_test.go

    					ResourceNamespace: "kube-system",
    					ResourceName:      "kube-scheduler",
    				},
    				ClientConnection: componentbaseconfig.ClientConnectionConfiguration{
    					QPS:         50,
    					Burst:       100,
    					ContentType: "application/vnd.kubernetes.protobuf",
    				},
    				PercentageOfNodesToScore: ptr.To[int32](config.DefaultPercentageOfNodesToScore),
    				PodInitialBackoffSeconds: ptr.To[int64](1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure.sh

      fi
      cp "${dst_dir}/kubernetes/gci-trusty/gci-configure-helper.sh" "${KUBE_BIN}/configure-helper.sh"
      cp "${dst_dir}/kubernetes/gci-trusty/configure-kubeapiserver.sh" "${KUBE_BIN}/configure-kubeapiserver.sh"
      if [[ -e "${dst_dir}/kubernetes/gci-trusty/gke-internal-configure-helper.sh" ]]; then
        cp "${dst_dir}/kubernetes/gci-trusty/gke-internal-configure-helper.sh" "${KUBE_BIN}/"
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/kustomizevisitor.go

    	yml []byte
    }
    
    // Visit passes the result of a kustomize build to a StreamVisitor.
    func (v *KustomizeVisitor) Visit(fn VisitorFunc) error {
    	kOpts := krusty.MakeDefaultOptions()
    	kOpts.Reorder = krusty.ReorderOptionLegacy
    	k := krusty.MakeKustomizer(kOpts)
    	m, err := k.Run(v.fSys, v.dirPath)
    	if err != nil {
    		return err
    	}
    	v.yml, err = m.AsYaml()
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:40:28 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top