Zaalouk, Adel
27f8d363a9
Organize kube-proxy flags
2019-05-24 11:39:01 +02: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
Brad Hoekstra
62e58a66aa
Fix some lint errors in pkg/proxy
2019-05-09 16:48:29 -04: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
Kubernetes Prow Robot
a0b8d1cbb8
Merge pull request #76732 from JieJhih/proxy/server
...
os exit when option is true
2019-04-27 11:18:21 -07:00
JieJhih
94731c5dcd
Merge branch 'master' into proxy/server
2019-04-27 13:48:29 +08:00
Zihong Zheng
028d4e8fe7
Add OWNERS file for cmd/kube-proxy
2019-04-26 17:22:29 -07: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
Vallery Lancey
cdce2d0ef9
Removed cleanup for non-current kube-proxy modes in newProxyServer()
2019-04-03 15:27:21 -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
Kubernetes Prow Robot
c06ca11b5d
Merge pull request #70896 from ksubrmnn/overlay_dsr
...
Adding Windows Overlay support to Kube Proxy
2019-02-20 12:53:13 -08:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05: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
Manjunath A Kumatagi
782409255a
Use ioutil.TempDir for temporary dir creating
2019-02-07 12:27:19 -05:00
ksubrmnn
a47e99e37a
Add Windows flags for KubeProxyConfiguration
2019-02-05 10:39:23 -08: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
Vallery Lancey
c22d855612
Renamed variables colliding with package names, and added TODOs on uncaught-errors
2019-01-28 16:19:54 -08:00
Vallery Lancey
65637e7621
Remove redundant import names in kube-proxy
2019-01-27 15:01:17 -08:00
Vallery Lancey
3bb5914548
Updated kube-proxy error strings to not use capitals/punctuation
2019-01-27 14:08:54 -08:00
Vallery Lancey
d8369fd391
Amend TODO comment about ClientConnectionConfiguration's types ( #73375 )
2019-01-27 13:50:21 -08:00
Marek Counts
1739e343a8
autogen files
...
all the autogen files that got updated due to the changes to move logs.
2019-01-17 09:16:36 -05:00
Marek Counts
ba81a5409a
move logs into component-base
...
all the code changes to move move /apiserver/pkg/util/logs into /component-base/logs
2019-01-17 09:16:21 -05:00
Humble Devassy Chirammal
a2daf66a0d
Use better error var name in kube-proxy code ( #72849 )
...
* Use better error var name in kube-proxy code
Signed-off-by: hchiramm <hchiramm@redhat.com>
* Unexport ErrReadOnlySysFS error variable
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-14 08:00:11 -08:00
Kubernetes Prow Robot
d313c3b5e4
Merge pull request #72682 from whypro/metrics-port
...
Add `metrics-port` to kube-proxy cmd flags.
2019-01-11 15:53:40 -08:00
Haoyu Wang
d52ba6413d
Add `metrics-port` to kube-proxy cmd flags.
2019-01-08 16:35:30 +08:00
Lucas Käldström
1edd2723f8
autogenerated files
2019-01-06 15:48:53 +02:00
Lucas Käldström
0140c82c16
Updated references from k8s.io/{apiserver,apimachinery} to the new k8s.io/component-base repo. Co-authored-by @Klaven
2019-01-06 14:01:26 +02:00
Kubernetes Prow Robot
0c7e207904
Merge pull request #72064 from jayunit100/patch-2
...
(one liner) Update server.go's dockerd messages to be CRI based.
2018-12-20 04:42:35 -08:00
Kubernetes Prow Robot
7ce7a80cda
Merge pull request #71355 from bradhoekstra/kube-proxy-services-optional
...
Make kube-proxy service abstraction optional
2018-12-19 15:27:12 -08:00