Commit Graph

2458 Commits (48ea20a7950e231a531bb64b41bf34271a0354e6)

Author SHA1 Message Date
Tim Hockin 9a75794fd6 slightly better logs in service e2e 2016-01-22 16:12:02 -08:00
Dawn Chen 138f18cc92 Move test (Pods should not back-off restarting a container on LivenessProbe failure)
out of flaky test.

For last 100+ runs, the test never fail in kubernetes-e2e-gce-flaky build.
The only exception is build 10313, but the failure is caused by previous
flaky test, not this one itself.
2016-01-22 13:04:57 -08:00
Zach Loafman 0b00928c74 Merge pull request #19987 from gmarek/remove-test
Remove monitor_resources test
2016-01-22 11:10:06 -08:00
Daniel Smith 4fe0a18024 Accept both 'No events.' and 'Events:' 2016-01-22 10:56:14 -08:00
Clayton Coleman 4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Eric Tune a99e151b90 Merge pull request #19962 from erictune/service-account-try-not-flaky
Promote ServiceAccount e2e out of [Flaky] status
2016-01-22 09:41:30 -08:00
gmarek 9ac68ecb77 Remove monitor_resources test 2016-01-22 13:38:33 +01:00
Marcin Wielgus 631b965384 Merge pull request #19968 from lavalamp/e2e-kubectl-proxy
e2e kubectl proxy test: Make future flake diagnosis possible
2016-01-22 12:50:06 +01:00
Clayton Coleman 4d127dc969 Initialize API servers with negotiated serializers
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman 125ef6fbc8 Support content-type negotiation in the API server
A NegotiatedSerializer is passed into the API installer (and
ParameterCodec, which abstracts conversion of query params) that can be
used to negotiate client/server request/response serialization. All
error paths are now negotiation aware, and are at least minimally
version aware.

Watch is specially coded to only allow application/json - a follow up
change will convert it to use negotiation.

Ensure the swagger scheme will include supported serializations - this
now includes application/yaml as a negotiated option.
2016-01-22 00:12:50 -05:00
Nikhil Jindal cd2e0c490e Merge pull request #19674 from nikhiljindal/latestAndRegistered
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
Daniel Smith 23fd5e9a33 Make future flake diagnosis possible.
It's currently unclear if the request failed because the proxy wasn't
quite up yet, or if it failed because traffic couldn't get from the
proxy to apiserver. Getting the proxy logs unconditionally should help
narrow this down.
2016-01-21 16:41:26 -08:00
Eric Tune b048814beb Promote ServiceAccount e2e out of [Flaky] status
Was marked as flaky prior to #11291, 6 months ago.
Code has changed many times.
No flakes in last 28 runs, and no Jenkins
history before that.
Follow up in #19024 if you see a flake.
2016-01-21 16:13:56 -08:00
Alex Mohr 76f02d562a Merge pull request #19083 from resouer/allocatable
Use Allocatable to replace Capacity
2016-01-21 16:05:05 -08:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
Alex Mohr a5dddfcb32 Merge pull request #19851 from thockin/fix-19723-test-strings
Match regexes for error strings in e2e
2016-01-21 14:31:47 -08:00
Alex Mohr 7742c6c78e Merge pull request #19673 from ihmccreery/feature-volumes
Mark Volumes and PersistentVolumes as [Feature:Volumes] instead of [Skipped]
2016-01-21 14:25:06 -08:00
James DeFelice 1b110bff0b fully qualified cluster name should conform to kube-dns spec 2016-01-21 21:44:24 +00:00
k8s-merge-robot bc55b1a58b Merge pull request #19857 from resouer/fakegit
Auto commit by PR queue bot
2016-01-21 11:29:14 -08:00
Alex Mohr e3bec5c1e8 Merge pull request #19833 from swagiaal/reclassify-security-context
Relabel Security Context e2e
2016-01-21 10:50:25 -08:00
Alex Mohr 8044a5f1e1 Merge pull request #19676 from ihmccreery/feature-skip-e2e-test-go
Skip [Feature:.+] instead of [Feature]
2016-01-21 10:44:08 -08:00
Alex Mohr d2d349bc84 Merge pull request #19334 from resouer/network
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Alex Mohr 8c9aa2af33 Merge pull request #19733 from janetkuo/flaky-deployment-recreate
Fix e2e flake: Sync deployment status when with RecreateDeploymentStrategy
2016-01-21 10:23:21 -08:00
Alex Mohr eaa61a72b0 Merge pull request #17919 from justinsb/multizone_gce
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Tim Hockin a1df9ff4b4 Match regexes for error strings in e2e 2016-01-21 08:46:37 -08:00
k8s-merge-robot 6cf3a4b5f0 Merge pull request #18957 from jsafrane/devel/pv-name-tag
Auto commit by PR queue bot
2016-01-21 05:55:12 -08:00
harry 845a3145cd Add a fake git server image for e2e test 2016-01-21 14:19:18 +08:00
k8s-merge-robot 03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Justin Santa Barbara 43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot a0909076c0 Merge pull request #19550 from ihmccreery/unskip-restart
Auto commit by PR queue bot
2016-01-20 16:26:30 -08:00
Harry Zhang 0202a206b8 Integration test to verify alloc works
Add integration test to verify allocatable can works
2016-01-20 15:36:19 +08:00
James DeFelice 75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Sami Wagiaalla 70fceeff92 Relabel Security Context e2e 2016-01-19 16:49:42 -05:00
Paul Morie c548054560 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
Piotr Szczesniak bd26e6eae0 Revert "Increase api call latency threshold." 2016-01-18 11:09:47 +01:00
k8s-merge-robot 9e7da41481 Merge pull request #19440 from Random-Liu/add-update-count-in-density-test
Auto commit by PR queue bot
2016-01-16 11:47:32 -08:00
k8s-merge-robot f2d273d481 Merge pull request #19128 from resouer/qps-limit
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
k8s-merge-robot c678ef3592 Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian 6d172bcad4 Increase api call latency threshold. 2016-01-15 16:59:26 -08:00
Janet Kuo 5a22e30b7d Sync deployment status when with RecreateDeploymentStrategy 2016-01-15 16:10:06 -08:00
Isaac Hollander McCreery 7779e0325d Don't skip Restart tests, just mark as [Feature:Restart] to start stabilizing 2016-01-15 10:39:14 -08:00
k8s-merge-robot 7f095c1f8e Merge pull request #19391 from timstclair/pod-waiting
Auto commit by PR queue bot
2016-01-15 09:33:38 -08:00
k8s-merge-robot 21aa683fb5 Merge pull request #18974 from pmorie/config-env
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
k8s-merge-robot 68a6147454 Merge pull request #19543 from ihmccreery/autoscaling-skips
Auto commit by PR queue bot
2016-01-15 06:10:59 -08:00
gmarek ed7e9bfb20 Print only interesting Kubelet metrics in JSON printer 2016-01-15 09:57:07 +01:00
Harry Zhang 936a11e775 Use networking to hold network related pkgs
Change names of unclear methods

Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Isaac Hollander McCreery 93d6ac8556 Skip [Feature:.+] instead of [Feature] 2016-01-14 15:43:41 -08:00
Isaac Hollander McCreery 63bc42c872 Mark Volumes and PersistentVolumes as [Feature:Volumes] 2016-01-14 14:07:33 -08:00
James DeFelice bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
Isaac Hollander McCreery 2d09e07ae6 Add documentation for test labels 2016-01-14 09:54:23 -08:00
gmarek bd4c0427db Remove per-container metrics from ones printed by e2e tests 2016-01-14 14:31:16 +01:00
k8s-merge-robot a57647eea0 Merge pull request #19614 from swagiaal/improve-e2e-util-error
Auto commit by PR queue bot
2016-01-14 03:35:10 -08:00
Marek Grabowski d9fdc96770 Merge pull request #19597 from gmarek/grab-metrics
Add explicit start and end to JSON encoded test data for easier parsing
2016-01-14 10:38:08 +01:00
k8s-merge-robot a385de1e43 Merge pull request #19357 from timstclair/stats-refactor
Auto commit by PR queue bot
2016-01-13 23:54:48 -08:00
k8s-merge-robot 36dc6eab34 Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
mqliang a06137a181 remove the flaky mark in deployment e2e test 2016-01-14 11:11:33 +08:00
Random-Liu 6c36b611ea Add lock in density test 2016-01-13 16:15:56 -08:00
Paul Morie 6cfd101251 Add support for ConfigMap keys in env vars 2016-01-13 17:00:15 -05:00
Sami Wagiaalla 608012db16 Add cmd.Run error as in addition to stdout and stderr 2016-01-13 16:08:39 -05:00
Sami Wagiaalla c7be0a2a36 Add FSGroup check to e2e of applicable volumes 2016-01-13 15:07:43 -05:00
Daniel Smith 5c556b1b87 Merge pull request #19566 from spxtr/pod-disks-slow
Label the very slow pod disk tests [Slow].
2016-01-13 10:26:01 -08:00
Chao Xu 144b5acd08 move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
gmarek ba8efbddea Add explicit start and end to JSON encoded test data for easier parsing 2016-01-13 15:57:57 +01:00
harry 080cb60dab Fix duplicated rate limit in scheduler
Remove BindingRateLimiterSaturation metrics

Update generated doc
2016-01-13 20:51:55 +08:00
k8s-merge-robot e1a71fefaa Merge pull request #19306 from yifan-gu/kubelet_service_e2e
Auto commit by PR queue bot
2016-01-13 03:33:13 -08:00
k8s-merge-robot cf7d2af14a Merge pull request #19086 from mikedanese/fix-build
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
k8s-merge-robot 077d1ddb61 Merge pull request #16713 from mqliang/RecreateDeployment
Auto commit by PR queue bot
2016-01-13 01:04:51 -08:00
mqliang 92798408af implement reconcileRecreateDeployment 2016-01-13 11:27:26 +08:00
k8s-merge-robot 3f2e99b7e7 Merge pull request #19375 from pwittrock/retry
Auto commit by PR queue bot
2016-01-12 17:03:47 -08:00
Yifan Gu fb5ee7397b e2e: Add support for getting kubelet logs from journald.
If there is any successful detection of kubelet.service,
fetch the kubelet logs using journalctl.
2016-01-12 15:52:46 -08:00
k8s-merge-robot 0df7e695d4 Merge pull request #19458 from davidopp/notsclose
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Joe Finney ce6114d5ae Label the very slow pod disk tests [Slow]. 2016-01-12 13:48:52 -08:00
Random-Liu 1df76bc663 Add update count statistics in density test 2016-01-12 11:52:40 -08:00
Isaac Hollander McCreery 6bd9324b6a Make ServiceLoadBalancer a Feature test; closes #19552 2016-01-12 11:29:43 -08:00
Isaac Hollander McCreery b202b2eb24 Reclassify [Example] and [Feature:Example] 2016-01-12 10:34:12 -08:00
Isaac Hollander McCreery cfdae7b482 Make [Autoscaling] [Feature:Autoscaling] 2016-01-12 10:11:56 -08:00
gmarek e704e6c0bc Make MetricsForE2E public 2016-01-12 13:23:47 +01:00
David Oppenheimer 8ac484793d Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Isaac Hollander McCreery a284927713 Add 5-minute sleep in GKE for dead tunnels to be removed 2016-01-11 15:30:23 -08:00
Minhan Xia 2a7656c0c0 Merge pull request #19383 from freehan/esloggingfix
Improve ES test resilience
2016-01-11 10:08:50 -08:00
gmarek 1dba92824c Changes required for test analyzer 2016-01-11 13:29:05 +01:00
gmarek 5f2222a866 Run test for grabbing metrics from Kubelet only on GCE 2016-01-11 11:54:43 +01:00
k8s-merge-robot 30f206c9e3 Merge pull request #19261 from gmarek/in-test-metrics
Auto commit by PR queue bot
2016-01-11 01:59:29 -08:00
Marek Grabowski b7f03ff600 Merge pull request #19421 from janetkuo/known-flaky
Label 3 flaky deployment e2e tests with [Flaky]
2016-01-11 09:55:42 +01:00
Jeff Lowdermilk bd9d980243 Merge pull request #19425 from ihmccreery/skip-labels
Label [Skipped] tests apprpriately
2016-01-08 14:50:10 -08:00
k8s-merge-robot 37b5726716 Merge pull request #14431 from Defensative/UDP-LB
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
Isaac Hollander McCreery b731b20907 Collapse REBOOT_SKIP_TESTS into GCE_DEFAULT_SKIP_TESTS, and remove GCE_SOAK_CONTINUOUS_SKIP_TESTS as redundant (see notes) 2016-01-08 11:09:15 -08:00
Minhan Xia a8d913bf8b do not fail when parsing unexpected log line 2016-01-08 10:40:41 -08:00
Janet Kuo 81c39b45ad Label 3 flaky deployment e2e tests with [Flaky] 2016-01-08 10:26:06 -08:00
Jan Safranek 8c48250a55 Add an integration test for volume tags. 2016-01-08 19:09:29 +01:00
Marek Grabowski 46945ab50f Merge pull request #19402 from gmarek/json
Implement JSON printing for test summaries
2016-01-08 16:21:09 +01:00
gmarek f5a41823c2 Implement JSON printing for test summaries 2016-01-08 10:07:43 +01:00
gmarek 927103121a Update constraints for system container 2016-01-08 09:38:57 +01:00
Tim St. Clair 5ce90c31c9 Treat pod NotFound errors as permanent
When waiting for a pod to become running, a NotFound error should be
treated a permanent, and report the NotFound error rather than a timeout
error.
2016-01-07 16:54:10 -08:00
Abhi Shah 7ca0fa431b Merge pull request #19385 from kubernetes/revert-19297-skip-labels
Revert "Label [Skipped] tests appropriately"
2016-01-07 16:21:24 -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
Phillip Wittrock 4397bdedf3 Errof -> Warningf 2016-01-07 13:29:17 -08:00
Phillip Wittrock aebc1bcc92 node e2e tests - retry fkaky failures caused by gcloud authentication 2016-01-07 12:17:24 -08:00
Abhi Shah ce96ff416b Revert "Label [Skipped] tests appropriately" 2016-01-07 11:54:41 -08:00
gmarek 5cc420c408 Small cleanup in density e2e test. 2016-01-07 10:28:43 +01: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
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
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
Minhan Xia c3d400f4bb Gather Fluentd logs 2016-01-06 13:46:12 -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
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
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
Janet Kuo db512fc2cb Log rcs when failed waiting for deployment status in e2e tests 2016-01-05 15:08:31 -08:00
Kenneth Shelton 9e6c45c395 Updated comments
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton d399a8f8cc * Added UDP LB support (for GCE) 2016-01-05 20:51:21 +00:00
k8s-merge-robot 671b5982cf Merge pull request #18125 from janetkuo/rollover-test
Auto commit by PR queue bot
2016-01-05 11:54:01 -08:00
k8s-merge-robot 547bf75b54 Merge pull request #19258 from gmarek/metrics-grabber
Auto commit by PR queue bot
2016-01-05 10:42:07 -08:00
Janet Kuo 6a8d5e7562 Add test for deployment rollover 2016-01-05 10:25:58 -08:00
k8s-merge-robot 8959b7a362 Merge pull request #19028 from mikedanese/unflaked
Auto commit by PR queue bot
2016-01-05 02:23:49 -08:00
gmarek 03fc8ba40a Metrics in e2e tests are using printer framework to print themselves 2016-01-05 11:15:42 +01:00
k8s-merge-robot d30f99b377 Merge pull request #18946 from smarterclayton/httplog
Auto commit by PR queue bot
2016-01-04 21:34:09 -08:00
k8s-merge-robot cd097e3f86 Merge pull request #19088 from smarterclayton/separate_service_account
Auto commit by PR queue bot
2016-01-04 08:38:24 -08:00
Prashanth B df5faeb5af Switch DefaultClient with a timeoutClient in Ingress e2e. 2016-01-01 12:41:27 +00:00
k8s-merge-robot 3644492e66 Merge pull request #19046 from thockin/e2e-svcs-not-round-robin
Auto commit by PR queue bot
2015-12-30 13:08:43 -08:00
k8s-merge-robot b51b6c917d Merge pull request #19194 from gmarek/spam
Auto commit by PR queue bot
2015-12-30 07:10:38 -08:00
gmarek fd3dcabf72 Remove node status checking spam from tests 2015-12-30 11:01:00 +01:00
k8s-merge-robot 728ed4bb83 Merge pull request #19142 from gmarek/grab-metrics
Auto commit by PR queue bot
2015-12-30 01:44:28 -08:00
Mike Danese b6614a4cc7 promote complex daemonset test out of flaky 2015-12-29 13:02:08 -08:00
Tim Hockin 4bbbb9a3c9 e2e: Loop more to defeat service randomization 2015-12-29 11:23:19 -08:00
Wojciech Tyczynski 3a16ca7ce1 Increase limit for elasticsearch logs amount in scalability tests 2015-12-29 15:20:50 +01:00
Marek Grabowski af104dd8df Merge pull request #19162 from gmarek/log_monitoring
Add an exponential backoff for reading log sizes
2015-12-29 13:32:22 +01:00
k8s-merge-robot 6f97970339 Merge pull request #19168 from mwielgus/turn-off-monitoring
Auto commit by PR queue bot
2015-12-29 04:05:35 -08:00
Marcin Wielgus c9036f00d1 Mark monitoring e2e tests as flaky until the new Heapster release 2015-12-29 12:32:50 +01:00
Marek Grabowski 316f8469a7 Merge pull request #19169 from gmarek/resource-usage
Temporarily increase allowed resources for elasticsearch in density tests
2015-12-29 12:24:00 +01:00
gmarek 2887aff3da Temporarily increase allowed resources for elasticsearch in density tests 2015-12-29 12:21:38 +01:00
gmarek 2388787c38 Add an exponential backoff for reading log sizes 2015-12-29 10:59:38 +01:00
gmarek 1df78a2398 Add a framework for multiple writers for various test data summaries 2015-12-29 10:26:44 +01:00
gmarek 2dcafa3854 Add a flag that will make test gather metrics from all running components after the test finishes. 2015-12-28 12:10:39 +01:00
Clayton Coleman 9dad7e624c Split the serviceaccount package into two parts
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
k8s-merge-robot df3f476722 Merge pull request #19056 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-24 11:58:46 -08:00
k8s-merge-robot 16e1de6db6 Merge pull request #18859 from deads2k/gv-grab-bag
Auto commit by PR queue bot
2015-12-23 23:57:24 -08:00
k8s-merge-robot 05a1295085 Merge pull request #18714 from gmarek/metrics-grabber
Auto commit by PR queue bot
2015-12-23 10:30:06 -08:00
gmarek 95825a5bd8 Print errors in log_size_monitoring 2015-12-23 12:36:12 +01:00
gmarek dec5096bfd Delete not working writePerfData 2015-12-23 12:30:49 +01:00
gmarek 0e3c33bdec log_size_monitor shouldn't fail test in case of error 2015-12-23 10:17:04 +01:00
Minhan Xia 32ca82de04 remove cluster logging e2e test from flaky suite 2015-12-22 16:37:29 -08:00
Isaac Hollander McCreery 8b255feeee Add flaky label [Flaky] to tests 2015-12-22 12:29:57 -08:00
Isaac Hollander McCreery 14d9a0f2c8 Label slow tests [Slow] 2015-12-22 12:29:57 -08:00
Filip Grzadkowski 4ee0e7e43c Fix e2e tests broken in #17865 2015-12-22 13:59:35 +01:00
gmarek 9dbbc4e1df Add a tool for grabbing and parsing prometheus metrics 2015-12-22 12:33:37 +01:00
Wojciech Tyczynski 6ce85817ea Fix density test 2015-12-22 10:50:05 +01:00
HaiyangDING d9f3607292 Implement multi-scheduler:
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
	- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
	- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"

update gofmt

update according to @david's review

run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
deads2k d41e7ecf53 miscellaneous group version updates 2015-12-21 09:52:50 -05:00
k8s-merge-robot 2efc738d5b Merge pull request #18458 from hongchaodeng/perf
Auto commit by PR queue bot
2015-12-21 01:54:09 -08:00
Clayton Coleman 0702164f05 httplog is not a CloseNotifier
We wrap TimeoutHandler with RecoverPanics, but httplog does not
implement http.CloseNotifier, which causes a naive watch from curl
against the insecure port to fail.

For now, implement CloseNotifier (but we should consider removing
httplog now that we have other tools in the stack to manage it).
2015-12-20 21:59:59 -05:00
k8s-merge-robot 796cc55663 Merge pull request #18773 from ihmccreery/fix-upgrade-proxy
Auto commit by PR queue bot
2015-12-19 21:10:34 -08:00
k8s-merge-robot d01a954be7 Merge pull request #18682 from bprashanth/docker_exec
Auto commit by PR queue bot
2015-12-19 20:32:53 -08:00
k8s-merge-robot 3c3a24e1d4 Merge pull request #18694 from thockin/airplane_validation_pt7
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot 9e8233fc3c Merge pull request #17398 from janetkuo/deployment-controller-informer
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Eric Tune f15b2e32a7 Merge pull request #16422 from hurf/created_by
Display controllers along with type when describing a pod
2015-12-18 13:44:07 -08:00
k8s-merge-robot 7f5123f61f Merge pull request #18900 from ihmccreery/serial-tests
Auto commit by PR queue bot
2015-12-18 11:56:11 -08:00
Isaac Hollander McCreery bd49a3420e Add [Disruptive] and [Serial] labels to appropriate tests
And use for partitioning; makes progress toward 10548
2015-12-18 11:12:28 -08:00
k8s-merge-robot 7dc73a34ac Merge pull request #18856 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-18 10:38:36 -08:00
Tim Hockin 0fecf965b4 Change how one-of blocks are validated
I took a hard look at error output and played until I was happier.  This now
prints JSON for structs in the error, rather than go's format.

Also made the error message easier to read.

Fixed tests.
2015-12-18 09:42:14 -08:00
Hongchao Deng 9704222cf3 scheduler performance test suite: README.md docs 2015-12-18 09:41:00 -08:00
Hongchao Deng 161b106082 scheduler performance test suite: standalone entry script 2015-12-18 09:40:52 -08:00
Hongchao Deng c0243ad4ee scheduler performance test suite: benchmarks and density tests 2015-12-18 09:39:33 -08:00
Mike Danese cd8dfe70d9 Merge pull request #18836 from mikedanese/daemon-set
increase timeout on complex daemonset test
2015-12-18 08:06:26 -08:00
Wojciech Tyczynski d1e039b646 Merge pull request #18635 from timothysc/etcd_client_post_cleanup
Update to use latest etcd client library
2015-12-18 14:14:21 +01:00
Janet Kuo bd1200ba66 Make label and deployment name in deployment e2e test unique 2015-12-17 19:58:48 -08:00
Janet Kuo 32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Minhan Xia cbcb3c040e Merge pull request #18783 from freehan/eslogging
increase grace period for elasticsearch cluster to complete master election
2015-12-17 17:31:08 -08:00
Phillip Wittrock 41f5b0b765 Node e2e test - propagate errors from tests to runner exit code. 2015-12-17 15:37:11 -08:00
Eric Tune 1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Mike Danese bff87533c6 increase timeout on complex daemonset test 2015-12-17 09:26:42 -08:00
k8s-merge-robot 548cfbf058 Merge pull request #18358 from gmarek/use-proxy
Auto commit by PR queue bot
2015-12-17 06:37:55 -08:00
Maciej Szulik 327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot 0f144fd351 Merge pull request #18529 from timstclair/server
Auto commit by PR queue bot
2015-12-17 04:27:11 -08:00
k8s-merge-robot 0b93238423 Merge pull request #18536 from mikedanese/ns-label
Auto commit by PR queue bot
2015-12-17 02:38:04 -08:00
k8s-merge-robot 4a9922c900 Merge pull request #18509 from gmarek/fix-e2e-pd
Auto commit by PR queue bot
2015-12-17 02:06:23 -08:00
k8s-merge-robot 5f1ebc3420 Merge pull request #18636 from feihujiang/removeStopCommandInE2eTest
Auto commit by PR queue bot
2015-12-16 23:38:11 -08:00
Nikhil Jindal 5fb943950d Merge pull request #18113 from nikhiljindal/serverLibrary
Extracting api server code into a library: part 1
2015-12-16 15:57:09 -08:00
Timothy St. Clair c505a5d49d Updating kubernetes proper to use latest etcd client library 2015-12-16 15:56:35 -06:00
nikhiljindal 2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
k8s-merge-robot 7eed10a804 Merge pull request #18782 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 13:43:25 -08:00
k8s-merge-robot 418c729240 Merge pull request #18486 from timstclair/kubelet_stats
Auto commit by PR queue bot
2015-12-16 13:23:40 -08:00
Minhan Xia c0e9612300 increase grace period for elasticsearch cluster to elect master 2015-12-16 12:26:09 -08:00
Phillip Wittrock 3d8835e2f0 remove cluster-name flag from e2e tests because it doesn't exist anymore 2015-12-16 12:10:25 -08:00
Isaac Hollander McCreery a5d895ac49 Add version-guarding around calls to SubResource proxy in e2es 2015-12-16 11:18:47 -08:00
k8s-merge-robot 431ab7f77c Merge pull request #18446 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 10:56:48 -08:00
Jeff Lowdermilk 7069a81116 Merge pull request #18767 from yujuhong/reset_test
Change the pods per node from 40 to 35 for resource tracking tests
2015-12-16 10:51:56 -08:00
Saad Ali 3968a5e63c Merge pull request #18601 from pmorie/devel/provisioner-aws
Dynamic provisioner for AWS EBS
2015-12-16 10:51:35 -08:00
Yu-Ju Hong 251179327d Change the pods per node from 40 to 35 for resource tracking tests
The maximum number of pods allowed on kubelet is 40. Let's not exceed that in
the tests.
2015-12-16 10:04:26 -08:00
Phillip Wittrock ad37e2654e Node e2e test fixes:
- Improve documentation and method naming
- Fix command this is run remotely
- Never reschedule the busybox logging test pod since it is supposed to terminate
- Update log test condition retrylogic to correctly retry instead of failing the test
- localhost -> 127.0.0.1 to work on coreos
- give name to etcd to work on coreos
- allow using full hostname for nodename for coreos
2015-12-16 09:22:48 -08:00
gmarek 13773cbdf9 Remove cluster-name from kubemark setup 2015-12-16 16:10:52 +01:00
k8s-merge-robot 0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
Minhan Xia 2c9ffc1b45 Merge pull request #18448 from freehan/eslogging
add validation for fluentd pods
2015-12-15 13:25:21 -08:00
Prashanth Balasubramanian 4d9a33f96e Services e2e should use kubectl exec instead of docker run. 2015-12-15 11:16:04 -08:00
Tim St. Clair 89bc7992f9 Refactor kubelet server into its own package
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
k8s-merge-robot 6f2351b981 Merge pull request #18618 from mesosphere/sur-697-annotations
Auto commit by PR queue bot
2015-12-15 05:26:47 -08:00
k8s-merge-robot 430be9ff0c Merge pull request #18674 from thockin/e2e-service-flakes
Auto commit by PR queue bot
2015-12-15 04:33:09 -08:00
Sergiusz Urbaniak 1fd3bc087b pod_task: use annotations rather than labels for roles
Roles support in Kubernetes-Mesos was done using pod labels. This
commits moves this to pod annotations. Pod label yaml files don't
support '*' characters, furthermore roles are consumed by the scheduler
only and are not meant for querying/filtering.
2015-12-15 12:45:54 +01:00
k8s-merge-robot 3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot b02417bb9b Merge pull request #18348 from mesosphere/sur-652-conformance-tests
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
Jan Safranek 700d92c2a8 AWS: Use GiB as units for disk sizes.
From some reason, MiBs were used for public functions and AWS cloud provider
recalculated them to GiB. Let's expose what AWS really supports and don't hide
real allocation units.
2015-12-15 10:18:00 +01:00
Piotr Szczesniak fe04005959 Merge pull request #18658 from jszczepkowski/rc-bump
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-15 09:05:11 +01:00
Wojciech Tyczynski 99ed49dfaf Relax scalability limits 2015-12-15 08:14:07 +01:00
Tim St. Clair 2e6ef04aeb Don't record the same stat point multiple times 2015-12-14 17:48:01 -08:00
Minhan Xia f0c176dd6a add validation for fluentd pods 2015-12-14 16:23:11 -08:00
Tim Hockin 86b91ac6bc Deflake a test - Sleep(5) != 5 seconds
Fixes #18283 (I hope - very rare flake)
2015-12-14 11:59:34 -08:00
Jerzy Szczepkowski dd62c8e831 Autoscaling e2e tests: bumped resource consumer to version beta2.
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-14 16:55:26 +01:00
gmarek f38455ddc3 Update e2e tests to list only schedulable nodes, to make them work with master Node registered. 2015-12-14 16:28:23 +01:00
gmarek 4852ca23ef Make getSchedulingLatency use master proxy 2015-12-14 16:08:34 +01:00
deads2k d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Sergiusz Urbaniak 67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
k8s-merge-robot 5566e32842 Merge pull request #18540 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-12-14 01:37:37 -08:00
Wojciech Tyczynski f24d909dae Increase limit for listing pods in 100-node cluster 2015-12-14 09:20:12 +01:00
feihujiang 9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08:00
feihujiang fd068b2887 Replace stop with delete command in e2e test 2015-12-14 15:49:05 +08:00
k8s-merge-robot 51e8c2e5f8 Merge pull request #17841 from mqliang/constant
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
k8s-merge-robot 9067833a31 Merge pull request #18382 from yujuhong/resource_usage
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Jeff Lowdermilk 09f9dc7d86 Merge pull request #18578 from ihmccreery/quiet-upgrades
Add quiet mode to gcloud calls from upgrade e2e tests
2015-12-11 15:49:50 -08:00
Yu-Ju Hong 7e8f4d831d e2e: set expected cpu usage upper bounds
Fail the test if the actual cpu usage is greater than expected.
2015-12-11 10:12:26 -08:00
Mike Danese a3b6674fbf add a label to namespaces created by e2e framework 2015-12-11 09:53:56 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Wojciech Tyczynski 5eb17e8224 Decrease scalability thresholds in e2e tests 2015-12-11 09:55:35 +01:00
Wojciech Tyczynski 6e29e84e14 Merge pull request #18532 from thockin/deflake-svcs-e2e
Deflake services e2e
2015-12-11 08:10:30 +01:00
Isaac Hollander McCreery 6aa463a9ac Add quiet mode to gcloud calls from upgrade e2e tests 2015-12-10 19:24:42 -08:00
Tim Hockin ad22d00e40 Extend a too-short timeout in services e2e 2015-12-10 16:34:07 -08:00
Madhusudan.C.S 7ec49d234c Increase the node condition status change observation time out to 5 minutes.
1 minute is too short.
2015-12-10 15:02:56 -08:00
Tim Hockin ed1f2d75e9 Deflake services e2e
Picking a nodePort needs to be more robust than "add one to an existing port
and hope it works".  Now we try all ports in the range if we have to.
2015-12-10 13:43:26 -08:00
k8s-merge-robot e99243fd12 Merge pull request #18264 from bprashanth/clean
Auto commit by PR queue bot
2015-12-10 08:53:23 -08:00
k8s-merge-robot ba306902e6 Merge pull request #18511 from jszczepkowski/cm-consumer
Auto commit by PR queue bot
2015-12-10 08:24:31 -08:00
Jerzy Szczepkowski aade6e78b2 Added handling custom metrics to resource consumer.
Added handling custom metrics in Prometheus format to resource consumer.
2015-12-10 16:20:03 +01:00
Marcin Wielgus f6f7725f90 Merge pull request #18340 from wojtek-t/pod_intra_communication_test
Set timeout for clients created in e2e tests
2015-12-10 14:54:36 +01:00
k8s-merge-robot 9b9daca0c4 Merge pull request #18213 from wojtek-t/enable_list_from_memory
Auto commit by PR queue bot
2015-12-10 05:47:42 -08:00
k8s-merge-robot b118b801f3 Merge pull request #18164 from jayunit100/hpa-parameterize
Auto commit by PR queue bot
2015-12-10 04:40:53 -08:00
k8s-merge-robot 9bbe6012e3 Merge pull request #17683 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-12-09 12:50:22 -08:00
Wojciech Tyczynski f1de51567d Set timeout for e2e clients 2015-12-09 20:44:25 +01:00
k8s-merge-robot b266aa1577 Merge pull request #18120 from pwittrock/etcd
Auto commit by PR queue bot
2015-12-09 10:30:36 -08:00
Wojciech Tyczynski 0cefb43707 Enable listing from memory 2015-12-09 16:24:14 +01:00
Wojciech Tyczynski 0caaf2583e Merge pull request #18360 from yujuhong/longer_timeout
Bump the timeout for container readiness probe e2e tests
2015-12-09 15:15:10 +01:00
Wojciech Tyczynski 0369805308 Merge pull request #18207 from wojtek-t/string_resource_version
Change resourceVersion to string in storage.Interface
2015-12-09 15:00:54 +01:00
Wojciech Tyczynski c1828b3153 Merge pull request #18218 from gmarek/fix-test
Make scheduler predicates test correctly use request instead of a limit
2015-12-09 14:29:35 +01:00
Wojciech Tyczynski 1e4888f6c8 Merge pull request #18345 from gmarek/monitor_resources
Tweak constants in monitor_resources test
2015-12-09 14:28:56 +01:00
Wojciech Tyczynski a915b8b29a Merge pull request #18080 from wojtek-t/list_options_in_listwatch
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
Jerzy Szczepkowski ab8dbd221d Merge pull request #18296 from sdminonne/downwardapi_volume
rising timeout for mount-tester image
2015-12-09 11:25:20 +01:00
k8s-merge-robot a486977e19 Merge pull request #17982 from deads2k/gv-testapi-01
Auto commit by PR queue bot
2015-12-08 22:16:59 -08:00
k8s-merge-robot d153b2a8cd Merge pull request #17808 from pwittrock/conf
Auto commit by PR queue bot
2015-12-08 17:24:04 -08:00
Minhan Xia fa30b796a8 Merge pull request #18244 from freehan/eslogging
Increase verbosity for cluster logging e2e test
2015-12-08 16:47:47 -08:00
Minhan Xia 3e7882e808 improve retry for checking es cluster health and increase verbosity 2015-12-08 15:22:51 -08:00
Yu-Ju Hong 6e3c7aaae6 Bump the timeout for container readiness probe e2e tests
To reduce the flakiness.
2015-12-08 08:27:38 -08:00