Commit Graph

956 Commits (f2f2e6a90a6b69dfb13e432e47f1c4815342de17)

Author SHA1 Message Date
Darren Shepherd da4e14f160 Update vendor 2019-02-23 22:20:56 -07:00
Darren Shepherd c3e5ef1886 Add ability to disable proxy hostname check 2019-02-22 18:15:21 -07:00
Lars Ekman deafffba7d
Updated and new tests for ipv4/ipv6 address mix 2019-01-16 11:04:31 +02:00
Lars Ekman 15631938e4
Only handle addresses of the own ip family 2019-01-16 11:04:26 +02:00
Kubernetes Prow Robot 0948f96ed2
Merge pull request #72409 from DataDog/automated-cherry-pick-of-#71895-#72106-upstream-release-1.13
Automated cherry pick of #71895 #72106 upstream release 1.13
2019-01-05 13:47:40 -08:00
Laurent Bernaille 3b3763cb15 Do not try to delete RS already in termination list 2018-12-28 17:16:19 +01:00
Laurent Bernaille 0864fd2f74 Add info message showing the reason for skipping deletion 2018-12-28 17:16:19 +01:00
Laurent Bernaille 9e8b5e9d63 Gofmt 2018-12-28 17:16:18 +01:00
Laurent Bernaille 089c277b6c Avoid unbinding multiple times for multiport svc 2018-12-28 17:16:18 +01:00
Laurent Bernaille d77f3a6795 Update test for new CleanupLegacyServices function 2018-12-28 17:16:18 +01:00
Laurent Bernaille 10beb23c84 Apply graceful termination logic when unbinding addresses 2018-12-28 17:16:18 +01:00
Laurent Bernaille cf42e01b04 Apply graceful termination when deleting a service 2018-12-28 17:16:18 +01:00
Laurent Bernaille caec159cb0 New sysctls to improve pod termination 2018-12-17 01:54:15 -08:00
Micah Hausler f377d6e441 Disable proxy to loopback and linklocal 2018-12-11 21:01:51 -08:00
Laurent Bernaille de95511d4e Generalize handling of InactiveConn to TCP 2018-12-08 17:29:13 +01:00
Laurent Bernaille 437edead27 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-12-08 17:29:13 +01:00
Laurent Bernaille 0523ad6239 Fix logic of delete function 2018-12-08 17:29:13 +01:00
Laurent Bernaille 67fee7318d Display RS complete name in logs
Help distinguish UDP and TCP RS (useful for DNS which uses both)
2018-12-08 17:29:13 +01:00
liangwei f39060c604 set net/ipv4/vs/conn_reuse_mode to 0 2018-11-16 15:17:24 +08: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
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
delulu 524de768bb fix inconsistency in updating hns policy 2018-10-03 22:00:03 +08:00
k8s-ci-robot 941fc26418
Merge pull request #67888 from tanshanshan/glogformat
remove unused format log print
2018-10-01 22:20:28 -07:00
k8s-ci-robot 577e06e0b8
Merge pull request #69222 from SataQiu/fix-2018092805
fix typo
2018-10-01 04:40:34 -07:00
liangwei 456c351e31 fix bugs introduced by ipvs graceful termination 2018-09-30 16:40:13 +08:00
SataQiu 94a653f100 fix typo 2018-09-28 23:41:24 +08:00
liangwei 9e4f84f42e ipvs connection based graceful termination 2018-09-27 15:16:48 +08:00
liangwei 80ff8b359c ipvs support graceful termination 2018-09-27 15:14:51 +08:00
k8s-ci-robot 3fe21e5433
Merge pull request #68922 from BenTheElder/version-staging
move pkg/util/version to staging
2018-09-26 22:59:42 -07:00
ksubrmnn d785379d67 Create unique mac address per endpoint 2018-09-26 15:45:45 -07:00
k8s-ci-robot 4ca9fa737e
Merge pull request #68760 from jessfraz/only-set-sysctl-if-not-set
pkg/proxy: only set sysctl if not already set
2018-09-26 04:56:59 -07:00
k8s-ci-robot fdd9c2e2a0
Merge pull request #67990 from tizhou86/newPR5
Fix golint error under pkg/proxy.
2018-09-24 17:17:19 -07:00