You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
4.3 KiB

  1. ---
  2. # bind address for kube-proxy
  3. kube_proxy_bind_address: '0.0.0.0'
  4. # acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the
  5. # default value of 'application/json'. This field will control all connections to the server used by a particular
  6. # client.
  7. kube_proxy_client_accept_content_types: ''
  8. # burst allows extra queries to accumulate when a client is exceeding its rate.
  9. kube_proxy_client_burst: 10
  10. # contentType is the content type used when sending data to the server from this client.
  11. kube_proxy_client_content_type: application/vnd.kubernetes.protobuf
  12. # kubeconfig is the path to a KubeConfig file.
  13. # Leave as empty string to generate from other fields
  14. kube_proxy_client_kubeconfig: ''
  15. # qps controls the number of queries per second allowed for this connection.
  16. kube_proxy_client_qps: 5
  17. # How often configuration from the apiserver is refreshed. Must be greater than 0.
  18. kube_proxy_config_sync_period: 15m0s
  19. ### Conntrack
  20. # max is the maximum number of NAT connections to track (0 to
  21. # leave as-is). This takes precedence over maxPerCore and min.
  22. kube_proxy_conntrack_max: 'null'
  23. # maxPerCore is the maximum number of NAT connections to track
  24. # per CPU core (0 to leave the limit as-is and ignore min).
  25. kube_proxy_conntrack_max_per_core: 32768
  26. # min is the minimum value of connect-tracking records to allocate,
  27. # regardless of conntrackMaxPerCore (set maxPerCore=0 to leave the limit as-is).
  28. kube_proxy_conntrack_min: 131072
  29. # tcpCloseWaitTimeout is how long an idle conntrack entry
  30. # in CLOSE_WAIT state will remain in the conntrack
  31. # table. (e.g. '60s'). Must be greater than 0 to set.
  32. kube_proxy_conntrack_tcp_close_wait_timeout: 1h0m0s
  33. # tcpEstablishedTimeout is how long an idle TCP connection will be kept open
  34. # (e.g. '2s'). Must be greater than 0 to set.
  35. kube_proxy_conntrack_tcp_established_timeout: 24h0m0s
  36. # Enables profiling via web interface on /debug/pprof handler.
  37. # Profiling handlers will be handled by metrics server.
  38. kube_proxy_enable_profiling: false
  39. # bind address for kube-proxy health check
  40. kube_proxy_healthz_bind_address: 0.0.0.0:10256
  41. # If using the pure iptables proxy, SNAT everything. Note that it breaks any
  42. # policy engine.
  43. kube_proxy_masquerade_all: false
  44. # If using the pure iptables proxy, the bit of the fwmark space to mark packets requiring SNAT with.
  45. # Must be within the range [0, 31].
  46. kube_proxy_masquerade_bit: 14
  47. # The minimum interval of how often the iptables or ipvs rules can be refreshed as
  48. # endpoints and services change (e.g. '5s', '1m', '2h22m').
  49. kube_proxy_min_sync_period: 0s
  50. # The maximum interval of how often iptables or ipvs rules are refreshed (e.g. '5s', '1m', '2h22m').
  51. # Must be greater than 0.
  52. kube_proxy_sync_period: 30s
  53. # A comma-separated list of CIDR's which the ipvs proxier should not touch when cleaning up IPVS rules.
  54. kube_proxy_exclude_cidrs: []
  55. # The ipvs scheduler type when proxy mode is ipvs
  56. # rr: round-robin
  57. # lc: least connection
  58. # dh: destination hashing
  59. # sh: source hashing
  60. # sed: shortest expected delay
  61. # nq: never queue
  62. kube_proxy_scheduler: rr
  63. # configure arp_ignore and arp_announce to avoid answering ARP queries from kube-ipvs0 interface
  64. # must be set to true for MetalLB to work
  65. kube_proxy_strict_arp: false
  66. # The IP address and port for the metrics server to serve on
  67. # (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces)
  68. kube_proxy_metrics_bind_address: 127.0.0.1:10249
  69. # A string slice of values which specify the addresses to use for NodePorts.
  70. # Values may be valid IP blocks (e.g. 1.2.3.0/24, 1.2.3.4/32).
  71. # The default empty string slice ([]) means to use all local addresses.
  72. kube_proxy_nodeport_addresses: >-
  73. {%- if kube_proxy_nodeport_addresses_cidr is defined -%}
  74. [{{ kube_proxy_nodeport_addresses_cidr }}]
  75. {%- else -%}
  76. []
  77. {%- endif -%}
  78. # oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000]
  79. kube_proxy_oom_score_adj: -999
  80. # portRange is the range of host ports (beginPort-endPort, inclusive) that may be consumed
  81. # in order to proxy service traffic. If unspecified, 0, or (0-0) then ports will be randomly chosen.
  82. kube_proxy_port_range: ''
  83. # udpIdleTimeout is how long an idle UDP connection will be kept open (e.g. '250ms', '2s').
  84. # Must be greater than 0. Only applicable for proxyMode=userspace.
  85. kube_proxy_udp_idle_timeout: 250ms