Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 291 for bursty (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/scheduler/apis/config/v1/defaults.go

    		obj.ClientConnection.ContentType = "application/vnd.kubernetes.protobuf"
    	}
    	// Scheduler has an opinion about QPS/Burst, setting specific defaults for itself, instead of generic settings.
    	if obj.ClientConnection.QPS == 0.0 {
    		obj.ClientConnection.QPS = 50.0
    	}
    	if obj.ClientConnection.Burst == 0 {
    		obj.ClientConnection.Burst = 100
    	}
    
    	// Use the default LeaderElectionConfiguration options
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. pkg/util/async/bounded_frequency_runner_test.go

    	timer.advance(1 * time.Millisecond) // abs=501ms, rel=500ms
    	runner.Run()
    	waitForDefer("too soon after second 3", t, timer, obj, 500*time.Millisecond)
    
    	// Advance timer enough to replenish bursts, but not enough to be minInterval
    	// after the last run
    	timer.advance(499 * time.Millisecond) // abs=1000ms, rel=999ms
    	waitForNothing("not minInterval", t, timer, obj)
    	runner.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  10. pkg/test/framework/components/cluster/kube/factory.go

    		config.QPS = 200
    		config.Burst = 400
    	})
    	if err != nil {
    		return nil, err
    	}
    	return istioKube.NewCLIClient(istioKube.NewClientConfigForRestConfig(rc))
    }
    
    func buildClientWithProxy(kubeconfig string, proxyURL *url.URL) (istioKube.CLIClient, error) {
    	rc, err := istioKube.DefaultRestConfig(kubeconfig, "", func(config *rest.Config) {
    		config.QPS = 200
    		config.Burst = 400
    	})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top