Commit Graph

22979 Commits

Author SHA1 Message Date
Clayton Coleman
7edbe09e59 Add new known flags and sort them 2016-01-06 21:09:20 -05:00
Clayton Coleman
b1e01875a1 go-to-protobuf: generate protobuf IDL and marshalers for Go structs 2016-01-06 21:09:20 -05:00
Tim St. Clair
368447ff3f Rector kubelet stats serving
Changes include:
- Moving stats serving & routes to pkg/kubelet/server/stats/handler.go
- Managing the routes with restful.WebService, rather than manual
parsing
- Misc cleanup

These changes will make adding the new routes for /stats/summary more
manageable.
2016-01-06 17:37:12 -08:00
k8s-merge-robot
b1e4831265 Merge pull request #19148 from andyzheng0831/trusty
Auto commit by PR queue bot
2016-01-06 17:29:48 -08:00
Matt Liggett
c6e9ad066e Initial node drain implementation for #3885.
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period.  It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.

Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00
k8s-merge-robot
a11d1bdc90 Merge pull request #19303 from mesosphere/jdef-expose-conntrack-flags-to-framework
Auto commit by PR queue bot
2016-01-06 16:21:18 -08:00
Chao Xu
ea0086468c remove the use of NamespaceIfScoped from generated clients 2016-01-06 16:20:44 -08:00
Mike Danese
592ca23a93 add GetLeader and IsLeader to the leaderelection client 2016-01-06 16:20:41 -08:00
k8s-merge-robot
db8657f054 Merge pull request #18779 from timstclair/kubelet-perf
Auto commit by PR queue bot
2016-01-06 16:19:17 -08:00
Brendan Burns
07b3ab720d Improve error reporting a little in ingress e2e.
Also add Output() to the util/exec Cmd interface.
2016-01-06 15:25:04 -08:00
Tim St. Clair
846c642aef Add node performance measuring guide
Add a development guide for measuring performance of node components.
The purpose of this guide is threefold:

1. Document the nuances of measuring kubelet performance so we don't
forget or need to reinvent the wheel.
2. Make it easier for new contributors to analyze performance.
3. Share tips and tricks that current team members might not be aware
of.
2016-01-06 15:19:05 -08:00
Chao Xu
f0ddc2d969 Stop using NamespaceIfScoped in events.go 2016-01-06 15:13:07 -08:00
Robert Bailey
603b15388d Clean up the admin table of contents. 2016-01-06 15:12:48 -08:00
Chao Xu
3e211d4f84 Merge pull request #19270 from caesarxuchao/client-gen-file-lowercase
Client gen file lowercase
2016-01-06 15:09:03 -08:00
Robert Bailey
abf9d227fd Update the large cluster parameters to reflect the 1.1 release. 2016-01-06 14:54:15 -08:00
k8s-merge-robot
2a1e51cb5a Merge pull request #18906 from MikeSpreitzer/issue/18721
Auto commit by PR queue bot
2016-01-06 14:09:36 -08:00
James DeFelice
58407ca8a2 avoid updating nf_conntrack-related settings, by default, when running k8s on mesos 2016-01-06 21:57:25 +00:00
Minhan Xia
c3d400f4bb Gather Fluentd logs 2016-01-06 13:46:12 -08:00
Janet Kuo
c782aaa504 Wait for rc store synced before syncing deployment 2016-01-06 12:43:06 -08:00
Isaac Hollander McCreery
c3cbe34106 Collapse REBOOT_SKIP_TESTS into GCE_DEFAULT_SKIP_TESTS, and remove GCE_SOAK_CONTINUOUS_SKIP_TESTS as redundant (see notes) 2016-01-06 12:16:26 -08:00
Mike Spreitzer
b35aec769b Issue #18721: introduce longer period for lost pod polling 2016-01-06 13:58:29 -05:00
Justin Santa Barbara
e7c3a08947 AWS: Provide newly required initialization arguments
It seems that some formerly optional arguments are now required in the
latest aws-sdk-go, see e.g.
https://github.com/aws/aws-sdk-go/issues/452.
2016-01-06 13:37:02 -05:00
k8s-merge-robot
9724447456 Merge pull request #19294 from mikedanese/link-fix
Auto commit by PR queue bot
2016-01-06 07:18:34 -08:00
k8s-merge-robot
9e927f08b1 Merge pull request #19292 from pmorie/swagger-api-regen
Auto commit by PR queue bot
2016-01-06 06:30:27 -08:00
harry
2a52976983 Use hashutil to hold hash tools 2016-01-06 22:28:58 +08:00
Paul Morie
adc04924a0 Regenerate for ConfigMap in master/kubectl 2016-01-06 09:28:08 -05:00
Paul Morie
9c18067e60 Add kubectl support for ConfigMap 2016-01-06 09:03:39 -05:00
Muhammed Uluyol
f4b4ca2989 Correct permissions on cassandra run script and fix provider.
We must handle null addresses in the cassandra seed provider. This
can occur when there are 'notReadyAddresses' but no 'addresses'.
While we're at it, update the makefile to build the jar.
2016-01-06 07:55:19 -05:00
Daniel Martí
5505706891 Properly close tmp files in unversioned
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:39768: accept4: too many open files; retrying in 5ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 5ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 10ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 20ms

Steps to reproduce (no longer fails):

	godep go test -short -run '^$' -o test .
	./test -test.run '^TestDoRequestNewWayFile$' -test.count 100

Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-06 12:55:42 +01:00
k8s-merge-robot
c8f1019c10 Merge pull request #19311 from janetkuo/flake-deployment-rollover
Auto commit by PR queue bot
2016-01-05 23:01:13 -08:00
k8s-merge-robot
d1668c6656 Merge pull request #19269 from yifan-gu/rkt_refactor
Auto commit by PR queue bot
2016-01-05 22:28:02 -08:00
Haoran Wang
fde5af232b fix wrong submit-queue.go link 2016-01-06 13:09:53 +08:00
Justin Santa Barbara
57265a4c74 AWS: Pass NUM_NODES in instance-data
The bootstrap scripts already assume it is set.
2016-01-05 23:10:43 -05:00
Clayton Coleman
1220464f2a Exclude new groupversion types from protobuf 2016-01-05 22:57:33 -05:00
Clayton Coleman
a20e551b46 Import protobuf into third_party from gogoproto
Taken from commit 9dc510915846dd5a05607d3b5bf41f5ca5cce972
2016-01-05 22:57:32 -05:00
Clayton Coleman
acd23e1501 bump(github.com/gogo/protobuf):9dc510915846dd5a05607d3b5bf41f5ca5cce972 2016-01-05 22:57:32 -05:00
k8s-merge-robot
38f926dbb9 Merge pull request #19206 from Random-Liu/remove-wired-docker-label
Auto commit by PR queue bot
2016-01-05 19:32:01 -08:00
k8s-merge-robot
66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Janet Kuo
7d5db746bf Fix incorrect condition in deployment rollover e2e test 2016-01-05 16:56:12 -08:00
Minhan Xia
ed8390a51f improve es test resillience 2016-01-05 16:51:55 -08:00
k8s-merge-robot
7aba868cdf Merge pull request #19305 from janetkuo/deployment-e2e-flake
Auto commit by PR queue bot
2016-01-05 16:42:03 -08:00
Minhan Xia
17d0074df6 Merge pull request #19302 from yujuhong/fix_restarts
Fix container restarts caused by kubelet restarts
2016-01-05 16:27:41 -08:00
Chao Xu
f51da22bcf regenerate the typed clients 2016-01-05 16:20:46 -08:00
Andy Zheng
d27e3ae8a1 Run kube-proxy in Trusty in a static pod.
We copy the manifest from salt configurations, and then remove the salt
content in the file and replace the variables with values.
2016-01-05 16:11:58 -08:00
Random-Liu
884dc5c9e5 Put TerminationGracePeriod, DeletionGracePeriod and PreStopHandler to docker labels 2016-01-05 15:45:29 -08:00
k8s-merge-robot
8b72fff9c0 Merge pull request #19259 from gmarek/small-fix
Auto commit by PR queue bot
2016-01-05 15:13:03 -08:00
Janet Kuo
db512fc2cb Log rcs when failed waiting for deployment status in e2e tests 2016-01-05 15:08:31 -08:00
Yu-Ju Hong
343240d559 Fix container restarts caused by kubelet restarts
There has been a recent regression causing kubelet to assume no containers are
running for the pod if kubelet has not seen the pod before. This would cause
all containers to be restarted after kubelet gets restarted. This change fixes
the bug.
2016-01-05 14:24:22 -08:00
Quinton Hoole
e663dbc302 Merge pull request #17733 from tpounds/aws-sdk-v1.0.2
Update aws-sdk-go to v1.0.x
2016-01-05 13:02:23 -08:00
Mike Danese
1934fc73e8 mungedocs: fix ignored errors in link checker
Before this change the link checker would ignore errors in a file if
the last link in a file was correct. The last link would wipe out the
error variable and set it to nil. Furthermore, it replaced errored
links with the empty string.

If we find an error that we can't correct, append the error message to
an an errs slice and leave the string as is.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-05 12:58:30 -08:00