Commit Graph

27439 Commits (b02f1bf667e36cc306a354728ea1ed362c2e5f3b)

Author SHA1 Message Date
k8s-merge-robot b02f1bf667 Merge pull request #24189 from wojtek-t/dont_remove_binaries
Automatic merge from submit-queue

Don't remove kubemark binaries

If you want to experiment a bit with kubemark (e.g. relaunch the component with different flags), it's roughly impossible now. If we have binaries, this is much easier.
2016-04-13 23:15:26 -07:00
k8s-merge-robot 429228d403 Merge pull request #23953 from nikhiljindal/u8sServer
Automatic merge from submit-queue

moving genericapiserver command line flags to genericapiserver

cc @kubernetes/sig-api-machinery
2016-04-13 23:15:24 -07:00
k8s-merge-robot a12cec52e5 Merge pull request #24172 from andyzheng0831/fix
Automatic merge from submit-queue

Trusty: Fixes for running GKE master

This PR includes two fixes for running GKE master on our image: 
(1) The kubelet command line assembly had a missing part for cbr0. We did not catch it because the code path is not covered by OSS k8s tests;

(2) Remove the "" from the variables in the cert files. It causes a parsing issue in GKE. Again, this code path is not covered by k8s tests.

This PR also refactors the code for assembling kubelet flag. I move all logic into a single function assemble_kubelet_flags in configure-helper.sh for better readability and also simplify node.yaml and master.yaml. 

@roberthbailey @dchen1107 please review it, and mark it as cherrypick-candidate. This PR is verified by @maisem. Together with his CL for GKE, we can run GKE cluster with master on our image and nodes on ContainerVM.

cc/ @maisem @fabioy @wonderfly FYI
2016-04-13 20:04:15 -07:00
k8s-merge-robot 1ccb4cf497 Merge pull request #23542 from caesarxuchao/clientset-release-1-3
Automatic merge from submit-queue

Clientset release 1.3

This PR creates the release 1.3 client set. We'll keep updating this client set until we cut release 1.3. In the meantime, the release 1.2 client set will be locked.

@lavalamp
2016-04-13 18:27:59 -07:00
Daniel Smith d19bc6b245 Merge pull request #24222 from pwittrock/jjbto
Increase kubelet timeout from 30->45 minutes to address long build ti…
2016-04-13 17:15:25 -07:00
Chao Xu 64e414fe39 e2e test for 1.3 2016-04-13 16:49:24 -07:00
k8s-merge-robot 20eccc24cd Merge pull request #24143 from goltermann/vetclean
Automatic merge from submit-queue

Final vet fixes; enabling vet checks in verify scripts.

Fixes #22523, #22524
2016-04-13 16:46:46 -07:00
Phillip Wittrock e79483ab0b Increase kubelet timeout from 30->45 minutes to address long build times. 2016-04-13 15:14:12 -07:00
Daniel Smith e10604dcf4 Merge pull request #24217 from timstclair/e2e-utils
Fix density tests
2016-04-13 14:36:27 -07:00
Tim St. Clair 59077722f2 Fix density tests 2016-04-13 14:33:29 -07:00
Daniel Smith e99f05a9bb Merge pull request #23526 from tyangliu/generate-yaml-docs
Generate yaml docs for kubectl
2016-04-13 14:24:20 -07:00
Daniel Smith 4c539bf082 Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07:00
Daniel Smith 498dc418ed Merge pull request #23122 from screeley44/volmount_errors
Return more useful error information when a persistent volume fails to mount
2016-04-13 14:20:51 -07:00
Daniel Smith 4983a8fd55 Merge pull request #24144 from andyzheng0831/enhance
Trusty: Avoid unnecessary in-memory temp files
2016-04-13 14:18:38 -07:00
goltermann a3104ba96c Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
nikhiljindal 8d7a8c6ae6 moving genericapiserver command line flags to genericapiserver 2016-04-13 13:28:18 -07:00
Chao Xu 27ad11a503 created release 1.3 2016-04-13 13:02:40 -07:00
k8s-merge-robot f2db7d07a3 Merge pull request #23966 from timstclair/e2e-utils
Automatic merge from submit-queue

Refactor E2E framework & utils to test/e2e/framework package

Refactor E2E framework & utils to test/e2e/framework package to pave the way for further refactoring and code sharing with the node e2e suite.

I've split this PR into 2 commits to try to make it more manageable: The first moves the code to the framework package (which builds on it's own), and the second fixes the test/e2e package. Unfortunately the code is so tangled up that moving it all at once this way is much easier than separating out individual pieces. Although the separation would probably be a worthwhile exercise on it's own, the goal here is to unblock the e2e_node hackathon.

One way I could reduce the number of changes is by importing the framework package as `.`. I didn't do this since I think it's not great practice - but I'm open to making this change if you (reviewers) think otherwise.

LMK if there's any way I can help to make this more reviewable.

@kubernetes/sig-node @kubernetes/sig-testing @vishh @pwittrock @jayunit100
2016-04-13 12:48:15 -07:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Tim St. Clair a55b4f2e77 Move test/e2e framework & utility code to test/e2e/framework 2016-04-13 10:50:17 -07:00
k8s-merge-robot af1e1c3ce6 Merge pull request #23992 from mml/docker-checker
Automatic merge from submit-queue

Rewrite docker-checker.sh to make it less kill-happy.
2016-04-13 10:10:25 -07:00
Daniel Smith 97acf8ca69 Merge pull request #24205 from yujuhong/fix_stats
e2e: fix error checking in kubelet stats
2016-04-13 09:59:03 -07:00
Yu-Ju Hong c6a26112bd e2e: fix error checking in kubelet stats 2016-04-13 09:22:59 -07:00
k8s-merge-robot ae57644172 Merge pull request #23435 from jsafrane/devel/fix-nsenter-mkdir
Automatic merge from submit-queue

Fixed mounting with containerized kubelet

`NsenterMounter.IsLikelyNotMountPoint()` should return `ErrNotExist` when the
checked directory does not exists - the regular mounted does this and
some volume plugins depend on this behavior.

See for example: https://github.com/kubernetes/kubernetes/blob/master/pkg/volume/aws_ebs/aws_util.go#L72
2016-04-13 08:35:08 -07:00
k8s-merge-robot 8eb19c7889 Merge pull request #22154 from sdminonne/service_nodeports_quotas
Automatic merge from submit-queue

Adding nodeports services to quota

To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
k8s-merge-robot f5e8e7453b Merge pull request #23806 from smarterclayton/streaming_watch
Automatic merge from submit-queue

Implement a streaming serializer for watch

Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).

@wojtek-t @lavalamp
2016-04-13 05:18:17 -07:00
k8s-merge-robot d8680feda6 Merge pull request #24184 from fejta/kubemark
Automatic merge from submit-queue

Increase 5 node kubemark to a 60m timeout, schedule every 5m

Closes https://github.com/kubernetes/kubernetes/issues/24183 and should reduce mergebot flakes

http://kubekins.dls.corp.google.com/view/Submit%20Queue/job/kubernetes-kubemark-5-gce/1354/consoleFull is an example where everything seemed to be running find but ran out of time after 30m, which is only slightly slower than its average passing runtime of 20m. I'm increasing to 3x average runtime.
2016-04-13 04:43:05 -07:00
Wojciech Tyczynski 0f60b33efc Don't remove kubemark binaries 2016-04-13 12:07:34 +02:00
k8s-merge-robot 9c5680bac3 Merge pull request #23904 from pmorie/kubelet-volumes-comments
Automatic merge from submit-queue

Add godoc to kubelet/volumes.go

Noticed that `mountExternalVolumes`, of all things, was missing Godoc while working w/ @screeley44.  Decided to add some tonight since I have been making noise about grokkability of the kubelet lately.

@kubernetes/sig-storage
2016-04-13 03:01:32 -07:00
k8s-merge-robot 8905e61522 Merge pull request #23872 from jayunit100/iperf-container
Automatic merge from submit-queue

IPerf container to support network perfomance testing

Simple iperf container.

Issue:
We want to run iperf from the e2e tests for a network baseline, but there are no gcr images for this.

Solution:
Curate our own iperf container from source in kubernetes and copy it as a top level microservice.  So long as these are injected into GCR, we can then run this container from the e2e tests.

 cc @sig-testing this can be used along side #22869
2016-04-13 02:18:40 -07:00
Erick Fejta e1ed4d48a4 Increase 5 node kubemark to a 60m timeout and start every 5m (when not already running) 2016-04-13 01:28:46 -07:00
k8s-merge-robot 42ac05fa20 Merge pull request #24115 from rmmh/test-history-suites
Automatic merge from submit-queue

Add suite pages to test-history

This changes http://storage.googleapis.com/kubernetes-test-history/static/index.html to look like:

![image](https://cloud.githubusercontent.com/assets/211868/14445317/f263e1da-0000-11e6-9bd9-01150d9ae4ba.png)

And adds sub-pages to show test results for specific suites:

![image](https://cloud.githubusercontent.com/assets/211868/14445339/1bb8555c-0001-11e6-9e5c-41d671af39a1.png)
2016-04-12 19:48:56 -07:00
Erick Fejta bc8738c280 Merge pull request #24176 from kubernetes/revert-24109-dockerized-e2e
Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker"
2016-04-12 18:42:59 -07:00
Erick Fejta b2f8b1962f Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker" 2016-04-12 18:40:21 -07:00
Ryan Hitchman 5683c0b087 Make test-history generator create pages for individual suites
This makes it easier to determine which tests cause particular suites to
fail.

All static HTML pages are now generated by one invocation of gen_html.py.

- make index include good/flake/fail numbers for each link
- consistently use % for string interpolation
2016-04-12 18:07:59 -07:00
Andy Zheng b5a1595c98 Trusty: Fix master kubelet command assembly 2016-04-12 15:53:16 -07:00
Abhi Shah 405656eff8 Merge pull request #24149 from ihmccreery/upgrade-clean
e2e-runner: don't clean old binaries before upgrade
2016-04-12 15:19:56 -07:00
Jeff Grafton 0fb747882d Merge pull request #24109 from ixdy/dockerized-e2e
Run most GCE, GKE, and Kubemark e2e jobs inside Docker
2016-04-12 14:38:04 -07:00
k8s-merge-robot 95871a3582 Merge pull request #24066 from wonderfly/serial_tests_trusty
Automatic merge from submit-queue

Start running [Serial] tests in Trusty CI jobs and the release job of Trusty-dev

Adding these tests as requested in https://github.com/kubernetes/kubernetes/issues/23956#issuecomment-207096136

@spxtr Can you review this?
cc/ @dchen1107 @andyzheng0831
2016-04-12 13:28:40 -07:00
k8s-merge-robot 21f4d1f1d6 Merge pull request #22649 from rootfs/nfs-fix
Automatic merge from submit-queue

disable nfsv4 and use nfsv3

fix #22529
2016-04-12 13:28:38 -07:00
Isaac Hollander McCreery 7fb421bdc3 e2e-runner: don't clean old binaries before upgrade 2016-04-12 11:12:59 -07:00
k8s-merge-robot e9c1d59174 Merge pull request #24003 from yujuhong/metrics_test
Automatic merge from submit-queue

e2e: adapt kubelet_perf.go to use the new summary metrics API

This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 11:01:48 -07:00
k8s-merge-robot 6ff05bb9e1 Merge pull request #23827 from derekwaynecarr/remove_sc_deny_vagrant
Automatic merge from submit-queue

Remove SecurityContextDeny from vagrant setup

This should not be needed in the vagrant setup.
2016-04-12 10:23:35 -07:00
k8s-merge-robot f4a421d4bb Merge pull request #24008 from liggitt/watch_cache
Automatic merge from submit-queue

Make watch cache treat resourceVersion consistent with uncached watch

Fixes #24004

This makes the watch cache handle resourceVersion consistent with an uncached watch API call, and the documented behavior. Watching from resourceVersion=X delivers watch events *after* version X (X is not included):

> // When specified with a watch call, shows changes that occur after that particular version of a resource.
> // Defaults to changes from the beginning of history.
> ResourceVersion string
2016-04-12 10:23:33 -07:00
k8s-merge-robot 828ea5a728 Merge pull request #24110 from vishh/node-conformance
Automatic merge from submit-queue

Convert the node conformance tests to use dedicated images.

This PR will de-flake the node e2e.
2016-04-12 09:38:48 -07:00
Alex Robinson 80a75ff76c Merge pull request #24075 from a-robinson/multizone
Add an e2e test suite for multi-zone GKE clusters.
2016-04-12 09:31:24 -07:00
Yu-Ju Hong a8c685921f e2e: adapt kubelet_perf.go to use the new summary metrics API
This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 09:27:46 -07:00
Huamin Chen 3a914c2583 fix #22529: disable nfsv4 and use nfsv3 2016-04-12 16:23:28 +00:00
k8s-merge-robot e93c0d727f Merge pull request #20204 from HaiyangDING/predlib
Automatic merge from submit-queue

Move predicates into library

This PR tries to implement #12744 

Any suggestions/ideas are welcome. @davidopp 

current state: integration test fails if including podCount check in Kubelet.
    
DONE:
    1. refactor all predicates: predicates return fitOrNot(bool) and error(Error) in which the latter is of type PredicateFailureError or InsufficientResourceError
    2. GeneralPredicates() is a predicate function, which includes serveral other predicate functions (PodFitsResource, PodFitsHost, PodFitsHostPort). It is registered as one of the predicates in DefaultAlgorithmProvider, and is also called in canAdmitPod() in Kubelet and should be called by other components (like rescheduler, etc if necessary. See discussion in issue #12744
TODO:
    1. determine which predicates should be included in GeneralPredicates()
    2. separate GeneralPredicates() into: a.) GeneralPredicatesEvictPod() and b.) GeneralPredicatesNotEvictPod()
    3. DaemonSet should use GeneralPredicates()
2016-04-12 07:44:45 -07:00
Jordan Liggitt ada60236f7 Make watch cache behave like uncached watch 2016-04-12 10:14:07 -04:00