Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Kubernetes Submit Queue
64c21133f0
Merge pull request #39142 from k82cn/k8s_39136
...
Automatic merge from submit-queue (batch tested with PRs 39152, 39142, 39055)
Update NodeRef to v1.ObjectReference.
fixes #39136
2016-12-27 17:10:13 -08:00
Klaus Ma
b0dfa4ad47
Add event when failed to open local port.
2016-12-23 04:51:12 +08:00
Klaus Ma
e901800687
Update NodeRef to v1.ObjectReference.
2016-12-22 16:28:20 +08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Wojciech Tyczynski
aa7da5231f
Update bazel files
2016-12-09 09:42:02 +01:00
Wojciech Tyczynski
e8d1cba875
GetOptions in client calls
2016-12-09 09:42:01 +01:00
caiyixiang
da46d1cf51
correct a few spelling mistakes
2016-12-01 16:34:25 +08:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
643f0bbd34
other cmd/
2016-11-23 15:53:09 -08:00
Patrice Ferlet
439a03136f
Check sysfs Type instead of Device
...
Some distribution, or installation use "none" device to mount sysfs (eg. Scaleway VPS). We should check the mount type instead of device.
Fix #37183
2016-11-21 14:56:10 +01:00
Kubernetes Submit Queue
c52efa570d
Merge pull request #36079 from apprenda/windows_kube_proxy
...
Automatic merge from submit-queue
Add Windows support to kube-proxy
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
This is the first stab at supporting kube-proxy (userspace mode) on Windows
**Which issue this PR fixes** :
fixes #30278
**Special notes for your reviewer**:
The MVP uses `netsh portproxy` to redirect traffic from `ServiceIP:ServicePort` to a `LocalIP:LocalPort`.
For the next version we are expecting to have guidance from Microsoft Container Networking team.
**Limitations**:
Current implementation does not support DNS queries over UDP as `netsh portproxy` currently only supports TCP. We are working with Microsoft to remediate this.
cc: @brendandburns @dcbw
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
```
2016-11-09 01:26:27 -08:00
Vishnu kannan
dd8ec911f3
Revert "Revert "Merge pull request #35821 from vishh/gci-mounter-scope""
...
This reverts commit 402116aed4
.
2016-11-08 11:09:10 -08:00
Paulo Pires
23c35f24c7
Added automatic seletion of userspace proxy mode depending on the OS kube-proxy is running.
2016-11-07 09:11:35 +00:00
Zihong Zheng
55f75c37f7
Default to the old behavior for proxier sync.
2016-11-06 22:45:53 -08:00
Timothy St. Clair
2b012e822a
Add minimum iptables sync period to the proxy, default is 2/sec
2016-11-04 00:38:35 -05:00
Bowei Du
a06fc6ab7a
Adds TCPCloseWaitTimeout option to kube-proxy for sysctl nf_conntrack_tcp_timeout_time_wait
...
Fixes issue-32551
2016-11-03 22:07:02 -07:00
saadali
402116aed4
Revert "Merge pull request #35821 from vishh/gci-mounter-scope"
...
This reverts commit 973fa6b334
, reversing
changes made to 41b5fe86b6
.
2016-11-03 20:23:25 -07:00
Kubernetes Submit Queue
973fa6b334
Merge pull request #35821 from vishh/gci-mounter-scope
...
Automatic merge from submit-queue
[Kubelet] Use the custom mounter script for Nfs and Glusterfs only
This patch reduces the scope for the containerized mounter to NFS and GlusterFS on GCE + GCI clusters
This patch also enabled the containerized mounter on GCI nodes
Shepherding multiple PRs through the submit queue is painful. Hence I combined them into this PR. Please review each commit individually.
cc @jingxu97 @saad-ali
https://github.com/kubernetes/kubernetes/pull/35652 has also been reverted as part of this PR
2016-11-03 04:32:19 -07:00
Kubernetes Submit Queue
175954fb12
Merge pull request #35090 from YuPengZTE/devConntrack
...
Automatic merge from submit-queue
In error, the first letter should be lowcase
**What this PR does / why we need it**:
Fix the typo of the first letter in error
**Special notes for your reviewer**:
Reference here: https://github.com/golang/go/wiki/CodeReviewComments#error-strings
Signed-off-by: YuPengZTE yu.peng36@zte.com.cn
2016-11-03 02:47:11 -07:00
Vishnu Kannan
414e4ae549
Revert "Adding a root filesystem override for kubelet mounter"
...
This reverts commit e861a5761d
.
2016-11-02 15:18:09 -07:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Vishnu kannan
e861a5761d
Adding a root filesystem override for kubelet mounter
...
This is useful for supporting hostPath volumes via containerized
mounters in kubelet.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-26 21:42:59 -07:00
Mike Danese
763c4987f2
autogenerated
2016-10-24 14:47:27 -07:00
Jan Chaloupka
4fde09d308
Replace client with clientset in code
2016-10-23 22:00:35 +02:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
c07c73efbb
Merge pull request #34385 from m1093782566/m109-kube-proxy-sys
...
Automatic merge from submit-queue
Generify kube-proxy conntracker setmax() and refactor util/sysctl
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
Fix Kube-proxy `conntrack.go` **TODO** [here](https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-proxy/app/conntrack.go#L56 ). This PR consists of two parts:
* Generify kube-proxy `realConntracker.SetMax(int)`
That is, change
`ioutil.WriteFile("/sys/module/nf_conntrack/parameters/hashsize", []byte(strconv.Itoa(max/4)), 0640)`
to
`sysctl.New().WriteValue("/sys/module/nf_conntrack/parameters/hashsize", max/4)`
* Refactor `sysctl.SetSysctl()` and `sysctl.GetSysctl()` to `WriteValue(path string, value string) error` and `GetValue(path value) (error, string)`
2016-10-21 00:18:53 -07:00
Jing Xu
34ef93aa0c
Add mounterPath to mounter interface
...
In order to be able to use new mounter library, this PR adds the
mounterPath flag to kubelet which passes the flag to the mount
interface. If flag is empty, mount uses default mount path.
2016-10-20 14:15:27 -07:00
m1093782566
ad89825065
build util function for write sys file
...
Change-Id: I8f122b4314c1d983e7ba1ce1d66ce876bef0dca9
2016-10-20 14:18:24 +08:00
YuPengZTE
927d7a07d2
In error, the first letter should be lowcase
...
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
2016-10-19 14:25:47 +08:00
Clayton Coleman
957c0955aa
Run defaulting on the scheduler startup
2016-10-18 21:07:35 -04:00
Tim Hockin
957c85a8fd
Add a lower-bound for conntrack
2016-09-26 20:25:40 -07:00
Kubernetes Submit Queue
a61a1f51f3
Merge pull request #29732 from ping035627/ping035627-patch-0728
...
Automatic merge from submit-queue
Optimise the getConntrackMax function
The PR optimise the getConntrackMax function, make it more concise.
2016-09-26 19:56:00 -07:00
PingWang
3bce910d0f
delete null value
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-09-07 08:27:17 +08:00
Angus Salkeld
f785f3d3ef
Clean up IPTables caps i.e.: sed -i "s/Iptables/IPTables/g"
2016-08-29 10:34:42 +10:00
Kubernetes Submit Queue
6fcbbe8663
Merge pull request #31404 from m1093782566/m109-proxy-log-level
...
Automatic merge from submit-queue
[kube-proxy] Modify log level from Info to Warning when proxyMode unknown
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
Currently, we use `glog.Infof` to print the log when proxy-mode is unknown, I think we may need to modify to `glog.Warningf`.
**Which issue this PR fixes**:
fixes #31405
2016-08-28 16:14:53 -07:00
m1093782566
23aadeadb8
modify log Info to Warning when proxyMode unknown
...
Change-Id: I39f143d07fb43261afb0d6cbd67bff054796ebcc
2016-08-25 10:20:22 +08:00
Justin Santa Barbara
2c103af2b6
Create testable implementation of sysctl
...
This is so we can test kubenet Init, which calls sysctl
2016-08-23 01:42:37 -04:00
Jeff Lowdermilk
51198f59da
Add --feature-gates to kube-system components
...
apiserver,scheduler,controller-manager,proxy,kubelet all get
flag. Using one variable to plumb through config via salt/init
scripts for GCE and GKE
2016-08-19 09:07:43 -07:00
Kubernetes Submit Queue
c19e9cc89d
Merge pull request #26044 from smarterclayton/multiversion_encode
...
Automatic merge from submit-queue
Guarantee that Encode handles nested objects again
2016-08-18 21:10:55 -07:00
Clayton Coleman
5f8366aac3
Convert() should accept the new conversion Context value
...
Allows Convert() to reuse the same conversions as ConvertToVersion
without being overly coupled to the version.
2016-08-18 14:45:20 -04:00
Minhan Xia
1acaa1db09
Revert "Revert "syncNetworkUtil in kubelet and fix loadbalancerSourceRange on GCE""
2016-08-18 10:19:48 -07:00
Daniel Smith
2aa0bb2dfc
Revert "syncNetworkUtil in kubelet and fix loadbalancerSourceRange on GCE"
2016-08-16 18:12:28 -07:00
Minhan Xia
643fc3803b
add firewall chain to filter request based on loadbalancer source range
2016-08-15 17:42:41 -07:00
PingWang
ee567e1ea0
optimise the getConntrackMax function
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-08-15 09:42:09 +08:00
Girish Kalele
5d6abf59ff
kube-proxy: Propagate hostname to iptables proxier
2016-08-09 10:05:29 -07:00
Harry Zhang
15d0f5cfd5
Move linedelimiter to it's own pkg
...
Refactoring resource container
2016-07-29 02:29:26 -04:00
Tim Hockin
1f37281dae
Scale kube-proxy conntrack limits by cores
...
For large machines we want more conntrack entries than smaller machines.
2016-07-15 16:36:40 -07:00
Random-Liu
4246853211
Prevent kube-proxy from panicing when sysfs is mounted as read-only.
...
Send a node event when this happens and hint to the administrator
about the remediation.
2016-07-10 22:32:51 -07:00