Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for MaxPerCore (0.42 sec)

  1. pkg/proxy/apis/config/fuzzer/fuzzer.go

    			c.FuzzNoCustom(obj)
    			obj.BindAddress = fmt.Sprintf("%d.%d.%d.%d", c.Intn(256), c.Intn(256), c.Intn(256), c.Intn(256))
    			obj.ClientConnection.ContentType = c.RandString()
    			obj.Conntrack.MaxPerCore = ptr.To(c.Int31())
    			obj.Conntrack.Min = ptr.To(c.Int31())
    			obj.Conntrack.TCPCloseWaitTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_linux.go

    func getConntrackMax(ctx context.Context, config proxyconfigapi.KubeProxyConntrackConfiguration) (int, error) {
    	logger := klog.FromContext(ctx)
    	if config.MaxPerCore != nil && *config.MaxPerCore > 0 {
    		floor := 0
    		if config.Min != nil {
    			floor = int(*config.Min)
    		}
    		scaled := int(*config.MaxPerCore) * detectNumCPU()
    		if scaled > floor {
    			logger.V(3).Info("GetConntrackMax: using scaled conntrack-max-per-core")
    			return scaled, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_test.go

    bindAddress: %s
    clientConnection:
      acceptContentTypes: "abc"
      burst: 100
      contentType: content-type
      kubeconfig: "/path/to/kubeconfig"
      qps: 7
    clusterCIDR: "%s"
    configSyncPeriod: 15s
    conntrack:
      maxPerCore: 2
      min: 1
      tcpCloseWaitTimeout: 10s
      tcpEstablishedTimeout: 20s
    healthzBindAddress: "%s"
    hostnameOverride: "foo"
    iptables:
      masqueradeAll: true
      masqueradeBit: 17
      minSyncPeriod: 10s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server.go

    	fs.Int32Var(o.config.Conntrack.MaxPerCore, "conntrack-max-per-core", *o.config.Conntrack.MaxPerCore,
    		"Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min).")
    	fs.Int32Var(o.config.Conntrack.Min, "conntrack-min", *o.config.Conntrack.Min,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  5. hack/local-up-cluster.sh

    clientConnection:
      kubeconfig: ${CERT_DIR}/kube-proxy.kubeconfig
    hostnameOverride: ${HOSTNAME_OVERRIDE}
    mode: ${KUBE_PROXY_MODE}
    conntrack:
    # Skip setting sysctl value "net.netfilter.nf_conntrack_max"
      maxPerCore: 0
    # Skip setting "net.netfilter.nf_conntrack_tcp_timeout_established"
      tcpEstablishedTimeout: 0s
    # Skip setting "net.netfilter.nf_conntrack_tcp_timeout_close"
      tcpCloseWaitTimeout: 0s
    EOF
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. pkg/generated/openapi/zz_generated.openapi.go

    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"maxPerCore": {
    						SchemaProps: spec.SchemaProps{
    							Description: "maxPerCore is the maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore min).",
    							Type:        []string{"integer"},
    							Format:      "int32",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top