Commit Graph

21940 Commits

Author SHA1 Message Date
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
Brendan Burns
9c0897e98b Fix the scripts to handle master/minion salt setups (e.g. AWS) 2015-12-04 12:52:43 -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
Brad Erickson
ac5726a12f Minion->Node rename: docs/ machine names only, except gce/aws 2015-12-03 23:34:50 -08:00
Jeff Grafton
7151b54a20 Pull variable definitions out of loop so retries work 2015-12-03 18:28:14 -08:00
Tim Hockin
29a2fded52 Revert "Change to alpha/beta for bandwidth annotations"
This reverts commit 2f4c3035be.
2015-12-03 17:20:23 -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
Zach Loafman
a7da123836 Merge pull request #18173 from mikedanese/pod-stuck
actually validate semver in node controller rather than prefix checking
2015-12-03 15:55:22 -08:00
Phillip Wittrock
0e2ade336a Initial revision of conformance node environment conformance tests 2015-12-03 15:41:10 -08:00
k8s-merge-robot
b9f31ca2c4 Merge pull request #11827 from deads2k/make-permissive-sas
Auto commit by PR queue bot
2015-12-03 15:16:50 -08:00
Brendan Burns
b4c4a045f7 Fix an incorrect reference to the directive that installs docker 2015-12-03 15:06:33 -08:00
Mike Danese
f784be33ac actually validate semver in node controller rather than prefix checking 2015-12-03 14:49:44 -08:00
k8s-merge-robot
163b521250 Merge pull request #17024 from eosrei/vagrant-node-rename
Auto commit by PR queue bot
2015-12-03 14:41:28 -08:00
derekwaynecarr
55d4f70f8e Resource quota observes deletes faster 2015-12-03 17:35:05 -05:00
Mike Danese
2c49893733 Merge pull request #18032 from mikedanese/semver
add semver parsing of gitversion to pkg/version
2015-12-03 13:49:06 -08:00