- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for QPS (0.02 sec)
-
plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation_test.go
config: eventratelimitapi.Configuration{ Limits: []eventratelimitapi.Limit{{ Type: "Server", Burst: 5, QPS: 1, }, { Type: "Namespace", Burst: 10, QPS: 2, CacheSize: 100, }, { Type: "SourceAndObject", Burst: 25, QPS: 10, CacheSize: 1000, }}, }, expectedResult: true, }, { name: "missing limits",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/kubelet/images/image_manager_test.go
{[]string{"GetImageRef", "PullImage", "GetImageSize"}, nil, true, true}, }}, // image present, non-zero qps, try to pull when qps exceeded {containerImage: "present_image", testName: "image present and excessive qps rate, pull", policy: v1.PullAlways, inspectErr: nil, pullerErr: nil, qps: 2000.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) -
cluster/gce/manifests/glbc.manifest
- --healthz-port=8086 - --gce-ratelimit=ga.Operations.Get,qps,10,100 - --gce-ratelimit=alpha.Operations.Get,qps,10,100 - --gce-ratelimit=beta.Operations.Get,qps,10,100 - --gce-ratelimit=ga.BackendServices.Get,qps,1.8,1 - --gce-ratelimit=beta.BackendServices.Get,qps,1.8,1 - --gce-ratelimit=ga.HealthChecks.Get,qps,1.8,1 - --gce-ratelimit=alpha.HealthChecks.Get,qps,1.8,1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 10:40:01 UTC 2023 - 2.8K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/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: Mon May 08 21:36:26 UTC 2023 - 4.4K bytes - Viewed (0) -
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) -
pkg/controller/nodelifecycle/scheduler/rate_limited_queue_test.go
qps := evictor.limiter.QPS() if qps != fakeAlways.QPS() { t.Fatalf("QPS does not match create one: %v instead of %v", qps, fakeAlways.QPS()) } evictor.SwapLimiter(0) qps = evictor.limiter.QPS() fakeNever := flowcontrol.NewFakeNeverRateLimiter() if qps != fakeNever.QPS() { t.Fatalf("QPS does not match create one: %v instead of %v", qps, fakeNever.QPS()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 17:40:33 UTC 2023 - 10K bytes - Viewed (0) -
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) -
plugin/pkg/admission/eventratelimit/admission_test.go
Type: eventratelimitapi.ServerLimitType, QPS: qps, Burst: tc.serverBurst, } config.Limits = append(config.Limits, serverLimit) } if tc.namespaceBurst > 0 { namespaceLimit := eventratelimitapi.Limit{ Type: eventratelimitapi.NamespaceLimitType, Burst: tc.namespaceBurst, QPS: qps, CacheSize: tc.namespaceCacheSize, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 17 13:19:08 UTC 2021 - 15.6K bytes - Viewed (0) -
cmd/kubemark/app/hollow_node.go
fs.StringVar(&c.ContentType, "kube-api-content-type", "application/vnd.kubernetes.protobuf", "ContentType of requests sent to apiserver.") 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)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 11K bytes - Viewed (0)