Alex Mohr
1b6cc1e263
Merge pull request #19823 from erictune/test-spew
...
Stop test spew on non-Linux.
2016-01-21 10:45:25 -08:00
Eric Tune
0bb716d6b2
Stop test spew on non-Linux.
...
Make kube-proxy test not run on non-linux to avoid
error spew.
2016-01-19 06:54:38 -08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Nagarjun
c98364e79b
insert space after comment character in cmd folder
2016-01-08 16:25:57 +05:30
Clayton Coleman
715b77cbcd
Split proxy and scheduler arguments
...
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05:00
Tim Hockin
da0ac31182
Set conntrack params in kube-proxy
...
Add flags to control max connections (set to 256k vs 64k default) and TCP
established timeout (set to 1 day vs 5 day default). Flags can be set to 0 to
mean "don't change it".
This is only set at startup, and not wrapped in a rectifier loop.
Tested manually.
2015-12-30 15:46:40 -08:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Mike Danese
65b8d43543
remove code that puts kube-proxy into a special cgroup since it runs in a container now
2015-11-23 10:20:58 -08:00
Tim Hockin
970c045848
Enable iptables kube-proxy by default in master
2015-11-13 18:38:01 -08:00
k8s-merge-robot
ec9b493647
Merge pull request #14639 from gmarek/hollow-proxy
...
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
gmarek
5a4e4d4d57
Add a HollowProxy to the HollowNode.
2015-10-27 18:23:29 +01:00
feisky
13dce74adb
Gendocs for docs/admin/kube-*
2015-10-25 19:24:23 +08:00
Steve Sloka
4302208aa9
globally search/replace 'KubeApiQps' to 'KubeAPIQPS' and 'KubeApiBurst' to 'KubeAPIBurst' to match GO rules
2015-10-23 08:24:19 -04:00
Abhishek Shah
d172ca6986
Added UdpIdleTimeout flag
2015-10-21 17:25:35 -07:00
k8s-merge-robot
6dc3dcf36a
Merge pull request #15414 from thockin/exp-beta-annotations
...
Auto commit by PR queue bot
2015-10-20 17:45:32 -07:00
Clayton Coleman
9440d17041
Proxy resync period should not be 30 seconds
2015-10-15 11:26:49 -04:00
Tim Hockin
4a2e64d3eb
Add beta annotation for kube-proxy
2015-10-14 15:31:37 -07:00
Dawn Chen
69a8dc64c7
Merge pull request #15247 from spiffxp/kube-api-limits
...
Expose kube-api burst/qps settings for kube components
2015-10-12 15:19:46 -07:00
Aaron Crickenberger
69351e3e88
Expose kube-api burst/qps settings for kube components
...
Default to hardcodes for components that had them, and 5.0 qps, 10 burst
for those that relied on client defaults
Unclear if maybe it'd be better to just assume these are set as part of
the incoming kubeconfig. For now just exposing them as flags since it's
easier for me to manually tweak.
2015-10-12 11:56:15 -04:00
Avesh Agarwal
888a488162
Adds new tests and increases code coverage.
2015-10-06 18:24:08 -04:00
Avesh Agarwal
8fb96afff4
This removes unused params passed to proxy server.
2015-10-06 18:21:16 -04:00
k8s-merge-robot
bd58984844
Merge pull request #14736 from aveshagarwal/master-proxy-crash
...
Auto commit by PR queue bot
2015-10-02 18:37:38 -07:00
k8s-merge-robot
698441cad3
Merge pull request #14655 from aveshagarwal/master-proxy-issue
...
Auto commit by PR queue bot
2015-09-30 22:51:20 -07:00
Avesh Agarwal
af90318222
Fixes crash when proxy is run with --cleanup-iptables=true.
2015-09-30 23:13:13 -04:00
Avesh Agarwal
310d4f48e6
Fixes erroneous declaration of oomAdjuster.
...
Fixes duplication of execer, dbus, iptInterface.
Fixes default assignment of SyncPeriod.
2015-09-29 23:00:14 -04:00
k8s-merge-robot
b661cfd21e
Merge pull request #14643 from liguangbo/change_Oom_to_OOM
...
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
Avesh Agarwal
7c1ff97e39
execer is already created earliler, and so there is no need to create it
...
again.
2015-09-28 09:56:57 -04:00
liguangbo
12299087da
Change Oom to OOM
2015-09-28 18:18:04 +08:00
Tim Hockin
026054f73e
Set iptables refresh to 30s
2015-09-25 14:02:24 -07:00
gmarek
1c25c2cd99
Refactor KubeProxy to allow mocking of all moving parts.
2015-09-23 18:47:05 +02:00
Tim Hockin
bd3cd82a12
Change kube-proxy flag: annotation for proxy-mode
...
This changes the --legacy-userspace-proxy flag to be a string flag
--proxy-mode. If specified, the flag will be respected ('userspace' and
'iptables' being valid values). If left blank (default) we will choose the
"best". best means userspace for now UNLESS the user adds an annotation
(net.experimental.kubernetes.io/proxy-mode) to their node, in which case we
will try to use that.
This allows people to try it on a single machine without fear of global failure
and without it getting rolled back on reboots. It is a poor-man's config blob.
2015-09-21 18:06:24 -07:00
Dan Winship
30ea22f40e
Make kube-proxy resync its rules on firewalld restart
2015-09-15 11:17:40 -04:00
Dan Winship
8bc9c40796
Watch for firewalld restart, to allow reloading iptables rules
2015-09-15 11:17:40 -04:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
k8s-merge-robot
3879bee562
Merge pull request #13670 from aveshagarwal/proxy-fixes
...
Auto commit by PR queue bot
2015-09-09 09:55:52 -07:00
k8s-merge-robot
5a01a760b2
Merge pull request #13669 from aveshagarwal/proxy-birthcry-fix
...
Auto commit by PR queue bot
2015-09-08 17:33:05 -07:00
Avesh Agarwal
f94c57ac30
If ForceUserspaceProxy is true, check for iptables based proxy
...
should not be performed.
2015-09-08 19:54:07 -04:00
Paul Morie
7f5e70022b
Fix typo in kube-proxy server.go
2015-09-08 14:03:45 -04:00
Avesh Agarwal
599100dc64
Fixed kube-proxy birthCry event as it seemed to start too early and
...
had a possibility to not start successfully after the event was already
posted.
2015-09-08 09:33:42 -04:00
caogaojin
60cb4406e9
Cleanup deprecated Forever function
...
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
BenTheElder
81ab51709a
Add --cleanup-iptables flag to kube-proxy
...
Adds a flag to cleanup iptables rules created by kube-proxy per
https://github.com/mesosphere/kubernetes-mesos/issues/353#issuecomment-1
27382832
2015-08-21 14:44:11 -04:00
BenTheElder
1f2076ce64
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-20 20:12:32 -04:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Tim Hockin
3a5c23d727
test for and set bridge-nf-call-iptables sysctl
2015-08-17 20:57:44 -07:00
Eric Paris
30d34d0e59
Reduce false positives with verify-flag-underscore.sh by updating regex
...
Check to make sure there is not an alphanumeric character immeditely
before or after the 'flag'. It there is an alphanumeric character then
this is obviously not actually the flag we care about. For example if
the project declares a flag "valid-name" but the regex finds something
like "invalid_name" we should not match. Clearly this "invalid_name" is
not actually a wrong usage of the "valid-name" flag.
2015-08-13 21:06:39 -04:00
Tim Hockin
776132e1ae
Make kube-proxy iptables sync period configurable
2015-08-13 09:53:32 -07:00
BenTheElder
ae569e20b5
Partially Implement #3760
2015-08-12 02:39:15 -04:00
CJ Cullen
103a39c621
Merge pull request #12464 from jiangyaoguo/add-events-for-kube-proxy
...
Add Birthcry event to kube-proxy
2015-08-11 17:10:03 -07:00
jiangyaoguo
6889f693db
Add birthcry event to kube-proxy
...
1. Add HostnameOverride parameter for kube-proxy as kubelet did.
2. Add Birthcry event for kube-proxy.
3. Because record event need apiserver client, adjust order of code partly.
2015-08-11 14:24:07 +08:00