Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 122 for QPS (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/server/deprecated_insecure_serving.go

    	}
    
    	return &rest.Config{
    		Host: "http://" + net.JoinHostPort(host, port),
    		// Increase QPS limits. The client is currently passed to all admission plugins,
    		// and those can be throttled in case of higher load on apiserver - see #22340 and #22422
    		// for more details. Once #22422 is fixed, we may want to remove it.
    		QPS:   50,
    		Burst: 100,
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 27 15:58:45 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/options/options.go

    	}
    	if deprecated.Changed("kube-api-content-type") {
    		o.ComponentConfig.ClientConnection.ContentType = o.Deprecated.ContentType
    	}
    	if deprecated.Changed("kube-api-qps") {
    		o.ComponentConfig.ClientConnection.QPS = o.Deprecated.QPS
    	}
    	if deprecated.Changed("kube-api-burst") {
    		o.ComponentConfig.ClientConnection.Burst = o.Deprecated.Burst
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/v1alpha1/defaults_test.go

    				HealthzBindAddress: "0.0.0.0:10256",
    				MetricsBindAddress: "127.0.0.1:10249",
    				ClientConnection: componentbaseconfig.ClientConnectionConfiguration{
    					ContentType: "application/vnd.kubernetes.protobuf",
    					QPS:         5,
    					Burst:       10,
    				},
    				IPTables: kubeproxyconfigv1alpha1.KubeProxyIPTablesConfiguration{
    					MasqueradeBit:      ptr.To[int32](14),
    					MasqueradeAll:      false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml

    apiVersion: kubeproxy.config.k8s.io/v1alpha1
    bindAddress: 0.0.0.0
    bindAddressHardFail: false
    clientConnection:
      acceptContentTypes: ""
      burst: 10
      contentType: application/vnd.kubernetes.protobuf
      kubeconfig: ""
      qps: 5
    clusterCIDR: ""
    configSyncPeriod: 15m0s
    conntrack:
      maxPerCore: 32768
      min: 131072
      tcpBeLiberal: false
      tcpCloseWaitTimeout: 1h0m0s
      tcpEstablishedTimeout: 24h0m0s
      udpStreamTimeout: 0s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top