- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 130 for QPS (0.02 sec)
-
plugin/pkg/admission/eventratelimit/apis/eventratelimit/v1alpha1/types.go
Type LimitType `json:"type"` // qps is the number of event queries per second that are allowed for this // 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"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 17:38:03 UTC 2017 - 3.4K 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) -
pkg/scheduler/apis/config/v1/defaults_test.go
ResourceLock: "leases", ResourceNamespace: "kube-system", ResourceName: "kube-scheduler", }, ClientConnection: componentbaseconfig.ClientConnectionConfiguration{ QPS: 50, Burst: 100, ContentType: "application/vnd.kubernetes.protobuf", }, PercentageOfNodesToScore: ptr.To[int32](config.DefaultPercentageOfNodesToScore),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:03:04 UTC 2024 - 27.9K bytes - Viewed (0) -
pkg/kubelet/apis/grpc/ratelimit.go
} } // WithRateLimiter creates new rate limiter with unary interceptor. func WithRateLimiter(serviceName string, qps, burstTokens int32) grpc.ServerOption { qpsVal := gotimerate.Limit(qps) burstVal := int(burstTokens) klog.InfoS("Setting rate limiting for endpoint", "service", serviceName, "qps", qpsVal, "burstTokens", burstVal) return grpc.UnaryInterceptor(LimiterUnaryServerInterceptor(gotimerate.NewLimiter(qpsVal, burstVal)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 07:22:23 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/util.go
defer cancel() responses := make([]string, cfg.count) responseTimes := make([]time.Duration, cfg.count) var responsesMu sync.Mutex var throttle *time.Ticker qps := int(cfg.Request.Qps) if qps > 0 { sleepTime := time.Second / time.Duration(qps) fwLog.Debugf("Sleeping %v between requests", sleepTime) throttle = time.NewTicker(sleepTime) defer throttle.Stop() } g := e.NewGroup()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 4.4K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/deprecated.go
fs.Float32Var(&o.QPS, "kube-api-qps", 50.0, "DEPRECATED: QPS to use while talking with kubernetes apiserver. This parameter is ignored if a config file is specified in --config.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 13:24:38 UTC 2023 - 3.4K bytes - Viewed (0) -
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 })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/test/echo/cmd/client/main.go
return err } return nil } func init() { rootCmd.PersistentFlags().IntVar(&count, "count", common.DefaultCount, "Number of times to make the request") rootCmd.PersistentFlags().IntVar(&qps, "qps", 0, "Queries per second") rootCmd.PersistentFlags().DurationVar(&timeout, "timeout", common.DefaultRequestTimeout, "Request timeout") rootCmd.PersistentFlags().StringVar(&uds, "uds", "",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config_selfclient.go
return nil, nil } host, port, err := LoopbackHostPort(s.Listener.Addr().String()) if err != nil { return nil, err } return &restclient.Config{ // Do not limit loopback client QPS. QPS: -1, Host: "https://" + net.JoinHostPort(host, port), TLSClientConfig: restclient.TLSClientConfig{ CAData: caCert, }, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 23 00:06:34 UTC 2021 - 3.1K bytes - Viewed (0)