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.

114 lines
4.5 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. # maxPerCore is the maximum number of NAT connections to track
  21. # per CPU core (0 to leave the limit as-is and ignore min).
  22. kube_proxy_conntrack_max_per_core: 32768
  23. # min is the minimum value of connect-tracking records to allocate,
  24. # regardless of conntrackMaxPerCore (set maxPerCore=0 to leave the limit as-is).
  25. kube_proxy_conntrack_min: 131072
  26. # tcpCloseWaitTimeout is how long an idle conntrack entry
  27. # in CLOSE_WAIT state will remain in the conntrack
  28. # table. (e.g. '60s'). Must be greater than 0 to set.
  29. kube_proxy_conntrack_tcp_close_wait_timeout: 1h0m0s
  30. # tcpEstablishedTimeout is how long an idle TCP connection will be kept open
  31. # (e.g. '2s'). Must be greater than 0 to set.
  32. kube_proxy_conntrack_tcp_established_timeout: 24h0m0s
  33. # Enables profiling via web interface on /debug/pprof handler.
  34. # Profiling handlers will be handled by metrics server.
  35. kube_proxy_enable_profiling: false
  36. # bind address for kube-proxy health check
  37. kube_proxy_healthz_bind_address: 0.0.0.0:10256
  38. # If using the pure iptables proxy, SNAT everything. Note that it breaks any
  39. # policy engine.
  40. kube_proxy_masquerade_all: false
  41. # If using the pure iptables proxy, the bit of the fwmark space to mark packets requiring SNAT with.
  42. # Must be within the range [0, 31].
  43. kube_proxy_masquerade_bit: 14
  44. # The minimum interval of how often the iptables or ipvs rules can be refreshed as
  45. # endpoints and services change (e.g. '5s', '1m', '2h22m').
  46. kube_proxy_min_sync_period: 0s
  47. # The maximum interval of how often iptables or ipvs rules are refreshed (e.g. '5s', '1m', '2h22m').
  48. # Must be greater than 0.
  49. kube_proxy_sync_period: 30s
  50. # A comma-separated list of CIDR's which the ipvs proxier should not touch when cleaning up IPVS rules.
  51. kube_proxy_exclude_cidrs: []
  52. # The ipvs scheduler type when proxy mode is ipvs
  53. # rr: round-robin
  54. # lc: least connection
  55. # dh: destination hashing
  56. # sh: source hashing
  57. # sed: shortest expected delay
  58. # nq: never queue
  59. kube_proxy_scheduler: rr
  60. # configure arp_ignore and arp_announce to avoid answering ARP queries from kube-ipvs0 interface
  61. # must be set to true for MetalLB, kube-vip(ARP enabled) to work
  62. kube_proxy_strict_arp: false
  63. # kube_proxy_tcp_timeout is the timeout value used for idle IPVS TCP sessions.
  64. # The default value is 0, which preserves the current timeout value on the system.
  65. kube_proxy_tcp_timeout: 0s
  66. # kube_proxy_tcp_fin_timeout is the timeout value used for IPVS TCP sessions after receiving a FIN.
  67. # The default value is 0, which preserves the current timeout value on the system.
  68. kube_proxy_tcp_fin_timeout: 0s
  69. # kube_proxy_udp_timeout is the timeout value used for IPVS UDP packets.
  70. # The default value is 0, which preserves the current timeout value on the system.
  71. kube_proxy_udp_timeout: 0s
  72. # The IP address and port for the metrics server to serve on
  73. # (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces)
  74. kube_proxy_metrics_bind_address: 127.0.0.1:10249
  75. # A string slice of values which specify the addresses to use for NodePorts.
  76. # Values may be valid IP blocks (e.g. 1.2.3.0/24, 1.2.3.4/32).
  77. # The default empty string slice ([]) means to use all local addresses.
  78. kube_proxy_nodeport_addresses: >-
  79. {%- if kube_proxy_nodeport_addresses_cidr is defined -%}
  80. [{{ kube_proxy_nodeport_addresses_cidr }}]
  81. {%- else -%}
  82. []
  83. {%- endif -%}
  84. # oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000]
  85. kube_proxy_oom_score_adj: -999
  86. # portRange is the range of host ports (beginPort-endPort, inclusive) that may be consumed
  87. # in order to proxy service traffic. If unspecified, 0, or (0-0) then ports will be randomly chosen.
  88. kube_proxy_port_range: ''