Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
ce22c0e6
Unverified
Commit
ce22c0e6
authored
4 years ago
by
fulii
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add option to configure IPVS timeouts in kube-proxy configration manifest. (#6396)
parent
bd60df97
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes/master/defaults/main/kube-proxy.yml
+12
-0
12 additions, 0 deletions
roles/kubernetes/master/defaults/main/kube-proxy.yml
roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2
+3
-0
3 additions, 0 deletions
...ubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2
with
15 additions
and
0 deletions
roles/kubernetes/master/defaults/main/kube-proxy.yml
+
12
−
0
View file @
ce22c0e6
...
...
@@ -84,6 +84,18 @@ kube_proxy_scheduler: rr
# must be set to true for MetalLB to work
kube_proxy_strict_arp
:
false
# kube_proxy_tcp_timeout is the timeout value used for idle IPVS TCP sessions.
# The default value is 0, which preserves the current timeout value on the system.
kube_proxy_tcp_timeout
:
0s
# kube_proxy_tcp_fin_timeout is the timeout value used for IPVS TCP sessions after receiving a FIN.
# The default value is 0, which preserves the current timeout value on the system.
kube_proxy_tcp_fin_timeout
:
0s
# kube_proxy_udp_timeout is the timeout value used for IPVS UDP packets.
# The default value is 0, which preserves the current timeout value on the system.
kube_proxy_udp_timeout
:
0s
# The IP address and port for the metrics server to serve on
# (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces)
kube_proxy_metrics_bind_address
:
127.0.0.1:10249
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2
+
3
−
0
View file @
ce22c0e6
...
...
@@ -358,6 +358,9 @@ ipvs:
scheduler: {{ kube_proxy_scheduler }}
syncPeriod: {{ kube_proxy_sync_period }}
strictARP: {{ kube_proxy_strict_arp }}
tcpTimeout: {{ kube_proxy_tcp_timeout }}
tcpFinTimeout: {{ kube_proxy_tcp_fin_timeout }}
udpTimeout: {{ kube_proxy_udp_timeout }}
metricsBindAddress: {{ kube_proxy_metrics_bind_address }}
mode: {{ kube_proxy_mode }}
nodePortAddresses: {{ kube_proxy_nodeport_addresses }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment