Browse Source

Remove deprecated udpIdleTimeout field in KubeProxyConfiguration (#9925)

pull/9932/head
HirazawaUi 1 year ago
committed by GitHub
parent
commit
baed5f0b32
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions
  1. 6
      roles/kubernetes/control-plane/defaults/main/kube-proxy.yml
  2. 1
      roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2

6
roles/kubernetes/control-plane/defaults/main/kube-proxy.yml

@ -111,8 +111,4 @@ kube_proxy_oom_score_adj: -999
# portRange is the range of host ports (beginPort-endPort, inclusive) that may be consumed
# in order to proxy service traffic. If unspecified, 0, or (0-0) then ports will be randomly chosen.
kube_proxy_port_range: ''
# udpIdleTimeout is how long an idle UDP connection will be kept open (e.g. '250ms', '2s').
# Must be greater than 0. Only applicable for proxyMode=userspace.
kube_proxy_udp_idle_timeout: 250ms
kube_proxy_port_range: ''

1
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2

@ -417,7 +417,6 @@ mode: {{ kube_proxy_mode }}
nodePortAddresses: {{ kube_proxy_nodeport_addresses }}
oomScoreAdj: {{ kube_proxy_oom_score_adj }}
portRange: {{ kube_proxy_port_range }}
udpIdleTimeout: {{ kube_proxy_udp_idle_timeout }}
{% if kube_proxy_feature_gates or kube_feature_gates %}
{% set feature_gates = ( kube_proxy_feature_gates | default(kube_feature_gates, true) ) %}
featureGates:

Loading…
Cancel
Save