Commit Graph

22831 Commits (651206fd90bf753b8b476302593948417e48b788)

Author SHA1 Message Date
Jeff Lowdermilk 57c409174f Merge pull request #19344 from janetkuo/flake-deployment
Wait for rc store synced before syncing deployment
2016-01-07 16:16:29 -08:00
Isaac Hollander McCreery 791cae90f0 Merge pull request #19350 from brendandburns/oncall
Improve error reporting a little in ingress e2e.
2016-01-07 15:51:31 -08:00
Daniel Martí 91fbff99dc Properly close test http servers in unversioned
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	client_test.go:522: expected an error, got Get http://127.0.0.1:46070/api: dial tcp 127.0.0.1:46070: socket: too many open files

Steps to reproduce (no longer fails):

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

Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-08 00:10:54 +01:00
Tim St. Clair e50059de07 Enforce minimum resource granularity
Enforce minimum resource granularity of milli-{core, bytes} for Storage,
Memory, and CPU resource types. For Storage and Memory, milli-bytes are
allowed for backwards compatability, but the behavior is
undefinied (depends on docker implementation).
2016-01-07 14:55:19 -08:00
Hongchao Deng 40e5e688cc Remove FailedResourceType and return custom error 2016-01-07 13:47:23 -08:00
Kris dd9301ede9 Fix data race by eliminating concurrency in test
I broke out the error retry logic into a named function that could be
tested independently of the rest of the event processing framework. This
allows the test to know when the retry logic is done.

The problem with the original test was there was no reliable way to know
when it was done trying record an event. A sentinal event was being
used, but there is no ordering guarantee. I could have added
synchronization around attempts tracking to fix the data race, but the
test case was still fundamentally flawed and would error occasionally.
2016-01-07 13:00:42 -08:00
k8s-merge-robot 13260188d5 Merge pull request #19355 from mikedanese/le-1
Auto commit by PR queue bot
2016-01-07 12:24:05 -08:00
k8s-merge-robot a8d372e78d Merge pull request #19205 from mikedanese/move-locally
Auto commit by PR queue bot
2016-01-07 12:11:44 -08:00
k8s-merge-robot 0fb1a93944 Merge pull request #19353 from roberthbailey/admin-readme
Auto commit by PR queue bot
2016-01-07 11:57:42 -08:00
k8s-merge-robot 35e203b124 Merge pull request #19321 from wanghaoran1988/fixwronglinkx
Auto commit by PR queue bot
2016-01-07 11:56:55 -08:00
k8s-merge-robot c156835f8a Merge pull request #19216 from luxas/etcd_cross_platform
Auto commit by PR queue bot
2016-01-07 11:56:13 -08:00
k8s-merge-robot 0e36747db8 Merge pull request #19091 from smarterclayton/split_cm_args
Auto commit by PR queue bot
2016-01-07 11:55:54 -08:00
Abhi Shah ce96ff416b Revert "Label [Skipped] tests appropriately" 2016-01-07 11:54:41 -08:00
Daniel Schonfeld 24c44e7a8e optimize ListRoutes to fetch instances only once per call
Issue #12121 - fixes courtesy of @justinsb - thank you
2016-01-07 14:32:37 -05:00
Brendan Burns afeda35a52 Merge pull request #19336 from justinsb/aws_initialize_metadata
AWS: Provide newly required initialization arguments
2016-01-07 11:04:55 -08:00
Brendan Burns 9ac13f665d Merge pull request #19320 from justinsb/aws_pass_numnodes
AWS: Pass NUM_NODES in instance-data
2016-01-07 09:59:07 -08:00
gmarek 5cc420c408 Small cleanup in density e2e test. 2016-01-07 10:28:43 +01:00
Clayton Coleman 2326e2bae3 Split controller manager options from init
Make defaults and flags clearly distinct from initialization code.
2016-01-06 22:39:14 -05:00
k8s-merge-robot ab6edd8170 Merge pull request #19093 from smarterclayton/split_proxy_and_scheduler
Auto commit by PR queue bot
2016-01-06 19:26:41 -08:00
k8s-merge-robot 4de37e093e Merge pull request #19297 from ihmccreery/skip-labels
Auto commit by PR queue bot
2016-01-06 19:13:16 -08:00
k8s-merge-robot e1cb14cce1 Merge pull request #19092 from smarterclayton/split_api_server
Auto commit by PR queue bot
2016-01-06 19:09:38 -08:00
k8s-merge-robot 499a23db08 Merge pull request #19089 from smarterclayton/split_kubelet_options
Auto commit by PR queue bot
2016-01-06 19:09:35 -08:00
Clayton Coleman 715b77cbcd Split proxy and scheduler arguments
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05:00
Clayton Coleman 791d160b42 Split the Kubelet flag options and struct
Reduces the size of the app/server.go file and ensures that the flags
and their defaults are clearly separated.
2016-01-06 21:23:06 -05:00
Clayton Coleman c0c707d92d Split apiserver flags and initialization
Make it easier to keep defaults and flags clearly identified.
2016-01-06 21:14:30 -05:00
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
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
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
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
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
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