Commit Graph

23163 Commits

Author SHA1 Message Date
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
Phillip Wittrock
aebc1bcc92 node e2e tests - retry fkaky failures caused by gcloud authentication 2016-01-07 12:17:24 -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
Tim St. Clair
3c72506f10 Fixed test & error code 2016-01-07 11:55:26 -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
Tim St. Clair
1fd72a7871 Change default cAdvisor housekeeping interval to 10s
Change the default interval cAdvisor uses to gather stats to 10
seconds.
2016-01-07 11:29:15 -08:00
Brendan Burns
5e1afd993c Switch to m3.medium for e2e testing 2016-01-07 11:15:41 -08: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
Joe Finney
fba3d1f79e Skip gcloud update checks for Jenkins jobs. 2016-01-07 10:48:59 -08:00
Joe Finney
edc274b6dd Track most remaining Jenkins E2E jobs. 2016-01-07 10:34:39 -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
Clayton Coleman
d12bbe0da9 Add protobuf to the kube build image 2016-01-06 22:34:18 -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
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