Erik Wilson
765fd253f6
Update vendor
2019-08-19 09:17:28 -07:00
Kubernetes Prow Robot
65de86e72f
Merge pull request #78602 from paulgmiller/release-1.14
...
cherry pick of #74027 : proxy: add some useful metrics
2019-06-20 14:30:38 -07:00
Andrew Sy Kim
a252fb9366
ipvs: fix string check for IPVS protocol during graceful termination
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-17 10:15:51 -04:00
Casey Callendrello
c3da106f31
cherry pick of 017f57a
, had to do a very simple merge of BUILD
2019-05-31 14:12:36 -07:00
Laurent Bernaille
a7a3c7d912
Disable graceful termination for udp
2019-05-31 10:18:49 +02:00
Kubernetes Prow Robot
c72a5b2c10
Merge pull request #75719 from DataDog/automated-cherry-pick-of-#75295-upstream-release-1.14
...
Automated cherry pick of #75295 upstream release 1.14
2019-04-30 00:05:36 -07:00
Igor German
dc734edb3c
proxy: Take into account exclude CIDRs while deleting legacy real servers
2019-04-11 18:13:13 +03:00
Laurent Bernaille
66d2fe9a9b
Do not delete existing VS and RS when starting
2019-03-26 10:19:25 +01:00
Laurent Bernaille
a20735141c
Add flag to enable strict ARP
2019-03-26 10:13:17 +01:00
Jacob Tanenbaum
c3548165d5
Clear conntrack entries on 0 -> 1 endpoint transition with externalIPs
...
As part of the endpoint creation process when going from 0 -> 1 conntrack entries
are cleared. This is to prevent an existing conntrack entry from preventing traffic
to the service. Currently the system ignores the existance of the services external IP
addresses, which exposes that errant behavior
This adds the externalIP addresses of udp services to the list of conntrack entries that
get cleared. Allowing traffic to flow
Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
2019-03-15 11:18:51 -04:00
danielqsj
10ab3fb832
clean the deprecated metrics which introduced recently
2019-03-06 15:23:46 +08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
Kubernetes Prow Robot
059d6057dd
Merge pull request #73323 from prameshj/clear-externalip-conntrack
...
Clear conntrack entries for externalIP and LoadBalancer IP
2019-02-19 18:38:17 -08:00
Nguyen Van Trung
d5d7db476d
fix an issue of yaml and json format
...
Signed-off-by: Nguyen Van Trung <trungnv@vn.fujitsu.com>
2019-02-15 09:55:53 +07:00
Pavithra Ramesh
24d3ab83dc
Remove conntrack entries from loadbalancer ip too.
2019-02-13 09:55:31 -08:00
Kubernetes Prow Robot
41d2445f8e
Merge pull request #71999 from mm4tt/kube-proxy
...
Start exporting the in-cluster network programming latency metric.
2019-02-12 05:21:29 -08:00
Matt Matejczyk
7141ece4bf
Start exporting the in-cluster network programming latency metric.
2019-02-12 08:09:59 +01:00
Kubernetes Prow Robot
c2d88db834
Merge pull request #73582 from AdamDang/patch-24
...
Improve the ipvs/README.md
2019-02-11 19:58:19 -08:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
...
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
AdamDang
62105c87d4
Improve the ipvs/README.md
...
Improve the ipvs/README.md
2019-01-31 18:42:17 +08:00
Kubernetes Prow Robot
b8d6de320f
Merge pull request #72334 from danielqsj/kp
...
Change proxy metrics to conform metrics guidelines
2019-01-25 18:32:12 -08:00
prameshj
5667ebd4f6
Merge branch 'master' into clear-externalip-conntrack
2019-01-25 11:12:16 -08:00
Pavithra Ramesh
168602e597
Clear conntrack entries for externalIP
...
When an endpoint is deleted, the conntrack entries are cleared for
clusterIP but not for externalIP of the service. This change adds
that step.
2019-01-25 11:05:18 -08:00
Jeff Grafton
11f248fd35
Remove deprecated automanaged tag from some go rules
2019-01-08 14:40:57 -08:00
yanghaichao12
ba64ae18bc
Fix typos in kube-proxy
2019-01-07 11:08:34 -05:00
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
danielqsj
8975e62254
Change proxy metrics to conform guideline
2018-12-26 17:25:10 +08: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
Dan Williams
2e339188ed
OWNERS: add label:sig/network to a bunch of places
2018-12-19 00:00:02 -06: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
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
Laurent Bernaille
1570d9f042
[kubeproxy/ipvs] New sysctls to improve pod termination
2018-12-06 19:49:47 +01: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