Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Ted Yu
f1b314bf5a
Early return after sending to errCh in Options#eventHandler
2019-08-30 13:18:33 -07:00
Kubernetes Prow Robot
4495d09282
Merge pull request #81430 from robscott/endpointslice-proxy
...
Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers
2019-08-29 15:36:44 -07:00
Kubernetes Prow Robot
7d241f0ec1
Merge pull request #81626 from logicalhan/proxy-migration
...
migrate kube-proxy metrics to stability framework
2019-08-29 05:30:23 -07:00
Rob Scott
9665c590c7
Adding EndpointSlice support for kube-proxy ipvs and iptables proxiers
2019-08-29 01:06:52 -07:00
Kubernetes Prow Robot
af54eae69a
Merge pull request #81612 from rikatz/issue81060
...
Remove watching Endpoints of Headless Services
2019-08-28 14:44:25 -07:00
Han Kang
e1bf0b4918
group imports properly
2019-08-28 12:49:54 -07:00
Han Kang
0895ac212d
migrate kube-proxy metrics to stability framework
2019-08-28 12:49:54 -07:00
Kubernetes Prow Robot
9c736445f5
Merge pull request #79846 from aramase/fix-golint-pkg/proxy
...
Fix golint failures in pkg/proxy
2019-08-23 00:51:17 -07:00
Ricardo Pchevuzinske Katz
e389237171
Remove watching Endpoints of Headless Services
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>
2019-08-21 16:37:09 -03:00
Johannes M. Scheuermann
352564714a
Handle error correctly in kubee-proxy command
...
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com>
2019-08-14 07:41:09 +02:00
Kubernetes Prow Robot
19e85a9092
Merge pull request #80502 from xigang/master
...
Update CleanupAndExit and OnServiceSynced field comment and bugfix panic params in the construct method
2019-08-07 20:10:06 -07:00
Kubernetes Prow Robot
fb5a0e0525
Merge pull request #78204 from stewart-yu/patch-1
...
get rid of the redundancy field in kube-proxy option
2019-08-07 20:09:17 -07:00
xigang
4ac81d7508
Update the CleanupAndExit field for the Options and the OnServiceSynced for the ServiceHandler comment
2019-07-24 09:40:29 +08:00
Anish Ramasekar
2878270f5b
Fix golint failures in pkg/proxy
...
Review feedback - remove alias from imports
fix comments
2019-07-08 11:48:33 -07:00
Kubernetes Prow Robot
7bf55da3c2
Merge pull request #78789 from johscheuer/remove-experimental-note-for-ipvs
...
Remove experimental note for ipvs in kube-proxy arguments
2019-07-03 04:46:31 -07:00
Vallery Lancey
dc0f14312e
Removed deprecated --resource-container flag from kube-proxy.
2019-06-16 08:36:42 -07:00
Johannes M. Scheuermann
cd6718e3d2
Remove experimental note for ipvs in kube-proxy arguments
2019-06-07 15:47:44 +02:00
Ricardo Pchevuzinske Katz
82c42bb6ee
Remove deprecated flag --conntrack-max from kube-proxy
2019-06-01 18:10:28 -03:00
Anish Ramasekar
aa07730275
Remove deprecated flag --cleanup-iptables from kube-proxy
...
Remove deprecated flag --cleanup-iptables from kube-proxy
update license
update license
2019-05-31 11:09:37 -07:00
Zaalouk, Adel
27f8d363a9
Organize kube-proxy flags
2019-05-24 11:39:01 +02:00
stewart-yu
da375fb154
get rid of the redundancy field in kube-proxy option
2019-05-24 09:37:06 +08:00
Kubernetes Prow Robot
aabd8f9beb
Merge pull request #77313 from bjhaid/cleanup_kube_proxy
...
Clean up kube-proxy.
2019-05-10 21:30:12 -07:00
Àbéjídé Àyodélé
109f1c479e
Clean up kube-proxy.
...
These are based on recommendation from
[staticcheck](http://staticcheck.io/ ).
- Removes dead type/function along with the import that the function
introduced.
- Removes unused struct fields.
- Removes select nested in a tight for loop, the select does not have a
default, so it will be blocking.
2019-05-09 14:39:03 +00:00
Kubernetes Prow Robot
5b34d95ec5
Merge pull request #77381 from JieJhih/network/golint
...
Fix golint
2019-05-07 00:23:54 -07:00
Kubernetes Prow Robot
a8787dac30
Merge pull request #76927 from mrkm4ntr/unnecessary-goroutine
...
Do not generate unnecessary goroutines
2019-05-06 21:31:53 -07:00
JieJhih Jhang
21e4f0039e
fix golint
2019-05-03 14:31:51 +08:00
Kubernetes Prow Robot
b9fbed1324
Merge pull request #76875 from JieJhih/proxy/file
...
handle file close error
2019-04-29 22:49:35 -07:00
JieJhih
94731c5dcd
Merge branch 'master' into proxy/server
2019-04-27 13:48:29 +08:00
Kubernetes Prow Robot
4dc05dd9df
Merge pull request #76320 from JieJhih/config/kube_proxy
...
support ipv6 in bind address
2019-04-26 17:14:22 -07:00
JieJhih Jhang
48f431aae5
os exit when option is true
2019-04-24 16:32:11 +08:00
Shintaro Murakami
f8e81337da
Do not generate unnecessary goroutine
2019-04-23 16:22:14 +09:00
JieJhih Jhang
84d29664c4
handle file close error
2019-04-21 16:28:46 +08:00
JieJhih Jhang
08e320fa4e
support ipv6 in bind address
...
use split host port func instead trim specific character
add unit test for metrics and healthz bind address
recover import package
refactor set default kube proxy configuration
fix ipv4 condition
fix set default port condition
rewrite call function occasion to reduce error
set ipv6 default value
move get GetBindAddressHostPort to util
use one func to handle deprecated series
update bazel
define address type
return earlier in the error case
refactor set default kube proxy configuration logic
recover import package
preserve some of the original comments
add get default address func
add append port if needed unit test
rewrite unit test for deprecated flags
remove unused codes
2019-04-17 15:31:42 +08:00
Kubernetes Prow Robot
2490e035d7
Merge pull request #71735 from dcbw/userspace-proxy-ratelimiting
...
proxy/userspace: respect minSyncInterval
2019-04-16 19:14:03 -07:00
SataQiu
cc199c74fc
fix golint failures of cmd/kube-proxy/app
2019-04-13 06:20:52 +08:00
Dan Williams
4b07f80d20
proxy: consolidate ServicesHandler/EndpointsHandler into ProxyProvider
...
Proxies should be able to cleanly figure out when endpoints have been synced,
so make all ProxyProviders also implement EndpointsHandler and pass those
through to loadbalancers when required.
2019-04-05 16:16:35 -05:00
Kubernetes Prow Robot
84b561033e
Merge pull request #76175 from stealthybox/refactor-mediatype-loops
...
Refactor loops over `SupportedMediaTypes()` where mediaType is used to match a single SerializerInfo{}
2019-04-04 23:54:07 -07:00
Vallery Lancey
3c9989258a
Fixed --cleanup-ipvs help text
2019-04-04 18:35:24 -07:00
leigh capili
47e52d2981
Refactor loops over SupportedMediaTypes() where mediaType is used to match a single SerializerInfo{}
...
We have an existing helper function for this: runtime.SerializerInfoForMediaType()
This is common prep-work for encoding runtime.Objects into JSON/YAML for transmission over the wire or writing to ComponentConfigs.
2019-04-04 19:01:01 -06:00
Vallery Lancey
eff9b4036e
Revert "Deprecated --cleanup-ipvs flag in kube-proxy"
...
This reverts commit 4f1bb2bd2f
.
2019-04-04 16:59:05 -07:00
Vallery Lancey
4f1bb2bd2f
Depricated --cleanup-ipvs flag in kube-proxy
2019-04-04 12:51:36 -07:00
Kubernetes Prow Robot
40a0647efa
Merge pull request #73380 from vllry/kube-proxy-cleanup
...
Superficial kube-proxy cleanup
2019-03-27 17:22:04 -07:00
Vallery Lancey
a23e442161
Fix a bad merge leftover in kube-proxy
2019-03-13 21:43:06 -07:00
Vallery Lancey
22ff746e4a
Merge branch 'master' into kube-proxy-cleanup
2019-03-13 13:31:48 -07:00
Laurent Bernaille
09f821ddb5
[kube-proxy/ipvs] Add flag to enable strict ARP
2019-03-12 15:56:22 +01:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Kubernetes Prow Robot
73ccf56edd
Merge pull request #59176 from dixudx/reload_kubeproxy_config
...
exit kube-proxy when configuration file changes
2019-02-01 18:29:06 -08:00
Brad Hoekstra
6117316752
Refactor service-proxy-name label
2019-01-29 11:28:35 -05:00
Di Xu
cc16d64368
exit kube-proxy when configuration file changes
2019-01-29 18:05:51 +08:00