Commit Graph

21898 Commits (aaa1fe67f6a74657a6796d38ad41ef8bc9a9674a)

Author SHA1 Message Date
k8s-merge-robot 3180b00f6c Merge pull request #17673 from hongchaodeng/metrics
Auto commit by PR queue bot
2015-12-05 05:30:08 -08:00
Daniel Martí 5ec087fa30 Properly close http connection on TestList
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	apiserver_test.go:984: 17: unexpected error: Get http://127.0.0.1:44131/apis/test.group/version/simple: dial tcp 127.0.0.1:44131: socket: too many open files

Steps to reproduce (no longer fails):

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

Note that this might not fail if your `ulimit -n` is not low enough.
2015-12-05 13:29:03 +01:00
k8s-merge-robot ee8598fd91 Merge pull request #17137 from janetkuo/deployment-minreadysec
Auto commit by PR queue bot
2015-12-05 01:37:35 -08:00
k8s-merge-robot 8c7e500431 Merge pull request #18228 from yanatan16/patch-1
Auto commit by PR queue bot
2015-12-04 23:01:15 -08:00
k8s-merge-robot 0d5f127342 Merge pull request #18195 from kevin-wangzefeng/centos_fix
Auto commit by PR queue bot
2015-12-04 23:01:05 -08:00
jiangyaoguo 7153ff80ff print absolute time when watch event 2015-12-05 13:52:53 +08:00
Yifan Gu 4ac6129578 kubelet: Small refactor on GetPhase(). 2015-12-04 18:43:09 -08:00
Kevin 4136219d8b centos baremetal: fix centos baremetal kube-up failure and update default download k8s version to v1.1.1 2015-12-05 10:25:54 +08:00
Random-Liu 3cbdf79f8c Change original PodStatus to APIPodStatus, and start using kubelet internal PodStatus in dockertools 2015-12-04 17:37:39 -08:00
Yu-Ju Hong 0ae1d548ce e2e: fix container probing test
This change compare the timestamps in pod status to accurately determine
whether the initial delay has passed when the pod (container) becomes ready.
Also increase the test timeout to account for the parallel testing environment.
2015-12-04 17:12:18 -08:00
Tim Hockin ba907883fb Try to fix rare test flake in services e2e 2015-12-04 16:35:02 -08:00
Joe Finney 1bc9980f29 Allow source-controlled Jenkins job configs.
Job configs are stored in YAML files in hack/jenkins/job-configs in the
format used by Jenkins Job Builder. A docker container running on
Jenkins fetches job configs every fifteen minutes and updates Jenkins.
2015-12-04 16:23:30 -08:00
Brendan Burns 15aa0c4415 Add a facility for custom user startup scripts via env variable 2015-12-04 16:13:24 -08:00
k8s-merge-robot c55b136ae2 Merge pull request #17149 from zhengguoyong/refactor_set_node_status
Auto commit by PR queue bot
2015-12-04 16:10:04 -08:00
Andy Zheng 816b29536a Prepare kube-system pods manifest for trusty nodes.
This change refactors the code of preparing kube-system manifests
for trusty based cluster. The manifests used by nodes do not contain
salt configuration, so we can simply copy them from the directory
cluster/saltbase/salt, make a tarball, and upload to Google Storage.
2015-12-04 15:43:29 -08:00
Tim St. Clair 2430454eea Update PodReady condition when updating container readiness 2015-12-04 15:40:33 -08:00
Isaac Hollander McCreery 49a2df54ae Check to make sure the cluster is up before running tests, and fail if it's not. 2015-12-04 14:59:36 -08:00
Kris e2583e294d Cleaning up test organization for impending move
I'm moving/deleting some tests to make an upcoming RESTClient refactor
PR cleaner.

 - TestDoRequestBearer is redundant to
   pkg/client/transport.TestBearerAuthRoundTripper
 - Added a case to pkg/client/transport.TestBasicAuthRoundTripper to
   cover what TestDoRequestWithoutPassword was testing
 - Moved TestSetsCodec, TestRESTClientRequires,
   TestValidateHostParameter to helper_test.go since they were really
   testing helper functions and not the RESTClient directly.
 - Modified TestValidateHostParameter during the moved to just use
   DefaultServerURL instead of creating a client.
2015-12-04 14:21:06 -08:00
Janet Kuo 8fb0caa15b Implement MinReadySeconds for Deployment 2015-12-04 12:58:34 -08:00
Dawn Chen b6f68df3c8 Merge pull request #18223 from vishh/cadvisor-trusty-update
Update cadvisor deps to v0.19.3.2
2015-12-04 12:52:16 -08:00
Jon Eisen b5ad36e078 Add new clojure api bindings library
https://github.com/yanatan16/clj-kubernetes-api
2015-12-04 13:47:30 -07:00
Vishnu kannan 215d0810a2 Update cadvisor deps to v0.19.3.2
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-04 11:40:41 -08:00
Derek Gonyeo 7ae6bf9d39 rkt: rewrote ListImages to use rkt's API service 2015-12-04 11:25:56 -08:00
k8s-merge-robot 9e896e3416 Merge pull request #16948 from swagiaal/move-formatAndMount
Auto commit by PR queue bot
2015-12-04 10:37:33 -08:00
Isaac Hollander McCreery dd734ca1b8 Merge pull request #18030 from ihmccreery/auto-config-upgrades-master
Configure gke-upgrade jobs from 1.0 and 1.1 to master on master
2015-12-04 09:56:04 -08:00
gmarek 092c1b46ee Make scheduler predicates test correctly use request instead of a limit 2015-12-04 18:15:23 +01:00
Dawn Chen 0bc070eabd Merge pull request #18178 from vishh/cadvisor-trusty-update
Update cadvisor to v0.19.3.1.
2015-12-04 09:11:08 -08:00
Tamer Tas fbd572dd53 Rename config_data.md to configmap.md 2015-12-04 18:17:01 +02:00
Tamer Tas f8c952954d Rename ConfigData proposal to ConfigMap 2015-12-04 18:16:01 +02:00
Filip Grzadkowski 81b6ac4755 Merge pull request #18209 from piosz/monitoring-e2e
Added printing heapster logs in case of monitoring.go e2e failure
2015-12-04 13:52:48 +01:00
k8s-merge-robot 6a39a6187d Merge pull request #18150 from gmarek/grab-profiles
Auto commit by PR queue bot
2015-12-04 03:18:32 -08:00
Piotr Szczesniak 38e6392eef Added printing heapster logs in case of monitoring.go e2e failure 2015-12-04 12:16:48 +01:00
k8s-merge-robot 37d22999b4 Merge pull request #17572 from yujuhong/kubeutil
Auto commit by PR queue bot
2015-12-04 03:15:54 -08:00
zhengguoyong 08c6bab575 Refactor fun setNodeStatus 2015-12-04 19:00:33 +08:00
k8s-merge-robot bc2d0f9d3e Merge pull request #17967 from rootfs/cephfs-e2e
Auto commit by PR queue bot
2015-12-04 02:55:52 -08:00
k8s-merge-robot 571839923c Merge pull request #18208 from wojtek-t/dont_run_3podpernode_in_scalability
Auto commit by PR queue bot
2015-12-04 02:40:50 -08:00
gmarek 9d11195508 Add an option to grab a profile from kubelet to grab-profiles.sh 2015-12-04 11:25:40 +01:00
k8s-merge-robot 9bd5995841 Merge pull request #18158 from gmarek/master
Auto commit by PR queue bot
2015-12-04 02:14:38 -08:00
k8s-merge-robot f4637f644f Merge pull request #18081 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-04 02:14:17 -08:00
k8s-merge-robot 6f6e97f2e4 Merge pull request #17987 from mml/mungedocs
Auto commit by PR queue bot
2015-12-04 02:13:54 -08:00
Wojciech Tyczynski e0731b96cf Don't run 3pods/node in scalability suite 2015-12-04 10:59:32 +01:00
Salvatore Dario Minonne 80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Jeff Grafton 7151b54a20 Pull variable definitions out of loop so retries work 2015-12-03 18:28:14 -08:00
He Simei 387d861d4e deprecate confusing flag usage 2015-12-04 09:09:23 +08:00
Xiang Li cf82d6b004 resource: optimize scale function
The original scale function takes around 800ns/op with more
than 10 allocations. It significantly slow down scheduler
and other components that heavily relys on resource pkg.
For more information see #18126.

This pull request tries to optimize scale function. It takes
two approach:

1. when the value is small, only use normal math ops.
2. when the value is large, use math.Big with buffer pool.

The final result is:

BenchmarkScaledValueSmall-4	20000000	        66.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkScaledValueLarge-4	 2000000	       711 ns/op	      48 B/op	       1 allocs/op

I also run the scheduler benchmark again. It doubles the throughput of
scheduler for 1000 nodes case.
2015-12-03 17:00:13 -08:00
k8s-merge-robot a5100ef057 Merge pull request #17248 from thockin/airplane_validation_pt4
Auto commit by PR queue bot
2015-12-03 16:59:23 -08:00
Brendan Burns 11635afc2f Merge pull request #18176 from brendandburns/aws2
Fix an incorrect reference to the directive that installs docker
2015-12-03 16:21:28 -08:00
Karl Isenberg c3c7c81b33 Guide style update
- Don't indent top-level lists
- Use 2 space list item indentation, unless using multi-line items, then use 4 space indents
- Use underline for page title
- Auto-generate table of contents
- Start with lvl 2 headers (lvl 1 headers look too much like the page title)
2015-12-03 16:15:07 -08:00
Vishnu kannan 869cc9fbda Update cadvisor to v0.19.3.1.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-03 16:03:56 -08:00
k8s-merge-robot c849825d18 Merge pull request #16400 from caesarxuchao/fix-proxy-content-length
Auto commit by PR queue bot
2015-12-03 15:56:03 -08:00