Kubernetes Prow Robot
dfea6456f1
Merge pull request #72432 from DataDog/issue-71596
...
Fix for #71596
2019-01-03 20:22:15 -08:00
Laurent Bernaille
7092e2f9f4
[kube-proxy/IPVS] Enforce ExternalTrafficPolicy:local even for services without affinity
2018-12-29 13:01:35 +01:00
Kubernetes Prow Robot
ae88c2d7b4
Merge pull request #70616 from teemow/teemow-proxy-flush-iptables-first
...
flush iptable chains first and then remove them
2018-12-20 08:53:47 -08:00
Laurent Bernaille
8bafc9771e
[kube-proxy/ipvs] Do not try to delete RS already in termination list
2018-12-17 13:46:50 +01:00
Laurent Bernaille
ffbfc53053
[kube-proxy/ipvs] Add info message showing the reason for skipping deletion
2018-12-17 13:46:09 +01:00
Micah Hausler
9740b6a6e1
Disable proxy to loopback and linklocal
2018-12-11 20:51:40 -08:00
Lars Ekman
227893dc3d
Corrected test TestOnlyLocalLoadBalancing
2018-12-11 10:07:04 +01:00
Kubernetes Prow Robot
9d80e7522a
Merge pull request #71911 from Nordix/issue-70113-2
...
Only handle addresses of the own ip family
2018-12-10 23:02:33 -08:00
Kubernetes Prow Robot
0914272a42
Merge pull request #71035 from Nordix/issue-68437
...
Fixes NodePort in ipv6 with proxy-mode=ipvs
2018-12-10 08:53:42 -08:00
Lars Ekman
39dc41d411
Updated and new tests for ipv4/ipv6 address mix
2018-12-10 14:16:17 +01:00
Lars Ekman
5065f89a17
Only handle addresses of the own ip family
2018-12-10 12:14:42 +01:00
Kubernetes Prow Robot
a69b565c3e
Merge pull request #71834 from DataDog/lbernail/ipvs-sysctls
...
[kubeproxy/ipvs] New sysctls to improve pod termination
2018-12-09 23:59:16 -08:00
Laurent Bernaille
ec598d1a16
[kube-proxy/ipvs] Gofmt
2018-12-08 23:49:49 +01:00
Laurent Bernaille
0f9d30dd27
[kube-proxy/ipvs] Avoid unbinding multiple times for multiport svc
2018-12-08 23:47:59 +01:00
Laurent Bernaille
b2c169d27c
[kube-proxy/ipvs] Update test for new CleanupLegacyServices function
2018-12-08 21:27:37 +01:00
Laurent Bernaille
e8c7dba25b
[kube-proxy/ipvs] Apply graceful termination logic when unbinding addresses
2018-12-08 21:16:13 +01:00
Laurent Bernaille
81252e2ec1
[kube-proxy/ipvs] Apply graceful termination when deleting a service
2018-12-08 21:15:58 +01:00
Kubernetes Prow Robot
f0bae6e9c5
Merge pull request #71573 from JacobTanenbaum/UDP_conntrack
...
Correctly Clear conntrack entry on endpoint changes when using nodeport
2018-12-07 15:01:43 -08:00
Laurent Bernaille
1570d9f042
[kubeproxy/ipvs] New sysctls to improve pod termination
2018-12-06 19:49:47 +01:00
Jacob Tanenbaum
144280e7a7
Correctly Clear conntrack entrty on endpoint changes when using nodeport
...
When using NodePort to connect to an endpoint using UDP, if the endpoint is deleted on
restoration of the endpoint traffic does not flow. This happens because conntrack holds
the state of the connection and the proxy does not correctly clear the conntrack entry
for the stale endpoint.
Introduced a new function to conntrack ClearEntriesForPortNAT that uses the endpointIP
and NodePort to remove the stale conntrack entry and allow traffic to resume when
the endpoint is restored.
Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
2018-12-03 15:02:48 -05:00
Lars Ekman
c3c7152c55
Corrected condition. Fix for #71596
2018-11-30 18:44:46 +01:00
Laurent Bernaille
b11233a2be
[kube-proxy/ipvs] Generalize handling of InactiveConn to TCP
2018-11-29 13:34:13 +01:00
Laurent Bernaille
ed65f6edeb
[kube-proxy/ipvs] Handle UDP graceful termination
...
The current logic is to delete a RS if the number of active connections
is 0. This makes sense for TCP but for UDP the number of active
connections is always 0. This is an issue for DNS queries because the RS
will be deleted but the IPVS connection will remain until it expires
(5mn by default) and if there are a lot of DNS queries, the port will be
reused and queries blackholed. Of course for this to work properly the
service needs to continue to serve queries until the connections expire
(this works fine with the lameduck option of coredns).
2018-11-28 18:02:11 +01:00
Laurent Bernaille
b955634d99
[kube-proxy/ipvs] Fix logic of delete function
2018-11-28 18:02:11 +01:00
Laurent Bernaille
7acb5a67fb
[kube-proxy/ipvs] Display RS complete name in logs
...
Help distinguish UDP and TCP RS (useful for DNS which uses both)
2018-11-28 18:02:11 +01:00
Lars Ekman
2e5a985e47
Updates after review
2018-11-19 11:44:17 +01:00
Lars Ekman
1be71b8a99
Add the extra parameter for non-linux code
2018-11-19 10:02:48 +01:00
liangwei
f39060c604
set net/ipv4/vs/conn_reuse_mode to 0
2018-11-16 15:17:24 +08:00
Lars Ekman
e2409a054b
Fixes NodePort in ipv6 with proxy-mode=ipvs. #68437
...
Use ipv6 addresses for NodePort with proxy-mode=ipvs in a
ipv6-only cluster.
2018-11-14 12:34:06 +01:00
AdamDang
cc4d38c768
Typo fix: healtcheck->healthcheck ( #65394 )
...
Typo fix: healtcheck->healthcheck
Typo fix: healtcheck->healthcheck
2018-11-13 19:45:24 -08:00
k8s-ci-robot
d8e78c8ac5
Merge pull request #66149 from honkiko/do-not-take-all-endpoints-into-ipset
...
hairpin ipset could only contain local endpoints
2018-11-12 02:04:09 -08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot
7984a2bf60
Merge pull request #70564 from KevinWang15/master
...
Fix typos
2018-11-05 19:04:45 -08:00
k8s-ci-robot
79e3d6c0f8
Merge pull request #70542 from wpalmeri/patch-2
...
fix typo in comment
2018-11-05 11:42:07 -08:00
Ke Wang
946c701b05
Fix Typo: mataData -> metaData; masquared -> masquerade
2018-11-05 21:19:25 +08:00
Weibin Lin
4b90559369
use 'nf_conntrack' instead of 'nf_conntrack_ipv4' for linux kernel >= 4.19
2018-11-05 10:33:31 +08:00
Timo Derstappen
90d2c5ca5a
flush iptable chains first and then remove them
...
while cleaning up ipvs mode. flushing iptable chains first and then
remove the chains. this avoids trying to remove chains that are still
referenced by rules in other chains.
fixes #70615
2018-11-03 11:36:14 +01:00
Will Palmeri
80f96e9abb
fix typo
2018-11-01 10:07:15 -07:00
kvaps
489e95bc30
Set arp_ignore and arp_announce flags
2018-11-01 10:38:42 +01:00
k8s-ci-robot
0be22d8ace
Merge pull request #70230 from qingsenLi/git181025
...
fix golint for /pkg/util/ipconfig and /pkg/util/resourcecontainer
2018-10-31 11:50:23 -07:00
Weibin Lin
95d379021b
add module 'nf_conntrack' in ipvs prerequisite check
2018-10-27 16:40:38 +08:00
qingsenLi
ca74d32e4c
fix golint for /pkg/util/ipconfig and /pkg/util/resourcecontainer-2
2018-10-26 23:58:30 +08:00
k8s-ci-robot
3b5d2e865e
Merge pull request #68436 from Nordix/issue-67799
...
Create ipsets with family inet6 in an ipv6-only cluster
2018-10-24 02:16:11 -07:00
Pengfei Ni
4b7a502c07
Fix service targetPort with string for Windows
2018-10-22 15:17:27 +08:00
xujieasd
4eab9406fa
add UT code for cleanLegacyBindAddr
...
gofmt modify
change api to v1
2018-10-17 11:04:26 +08:00
Weibin Lin
73e3d8a081
Improve the ipvs error message
2018-10-10 16:16:58 +08:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
k8s-ci-robot
2f349d58df
Merge pull request #68897 from ksubrmnn/mac_address
...
Load Balancing is not distributing connections to different endpoints
2018-10-04 19:34:45 -07:00
k8s-ci-robot
8a3888dcfa
Merge pull request #69407 from madhanrm/approvers
...
Updated approvers for winkernel proxy
2018-10-04 15:59:39 -07:00
Madhan Raj Mookkandy
77a9884f4a
Updated approvers for winkernel
2018-10-04 10:05:59 -07:00