Commit Graph

7573 Commits

Author SHA1 Message Date
k8s-merge-robot
950e5d9a53 Merge pull request #13563 from a-robinson/timeout
Auto commit by PR queue bot
2015-09-09 18:52:14 -07:00
Chao Xu
002dcc6343 Merge pull request #13737 from wojtek-t/switch_to_node_in_registry
Rename "minion" to "node" in few places.
2015-09-09 17:49:22 -07:00
Chao Xu
58b01bee1c Merge pull request #13453 from aveshagarwal/master-kubectl-get-fixes
Adds serviceaccounts to kubectl get/describe cli help and docs description.
2015-09-09 17:42:58 -07:00
Chao Xu
d6ce719081 Merge pull request #13732 from hurf/ac_doc
Doc fix for admission/plugin.go
2015-09-09 16:21:38 -07:00
k8s-merge-robot
46d94b5fe6 Merge pull request #13688 from derekwaynecarr/fix_validate_limitrange
Auto commit by PR queue bot
2015-09-09 16:04:11 -07:00
k8s-merge-robot
c993cf6509 Merge pull request #13192 from jiangyaoguo/rate-limit-events-in-kubelet
Auto commit by PR queue bot
2015-09-09 14:58:28 -07:00
k8s-merge-robot
4e0546c82d Merge pull request #13553 from jszczepkowski/hpa-remove
Auto commit by PR queue bot
2015-09-09 13:49:07 -07:00
k8s-merge-robot
6ddc30c46e Merge pull request #13648 from markturansky/voltesting_mockrecycler
Auto commit by PR queue bot
2015-09-09 13:03:17 -07:00
derekwaynecarr
ea919f6d1e Fix precision handling in validating LimitRange 2015-09-09 15:52:29 -04:00
kargakis
c9268e1faf expose: Avoid selector resolution if a selector is not needed 2015-09-09 21:30:23 +02:00
Abhishek Shah
da06ecfc1f ShuffleStrings uses a seeded rand object 2015-09-09 12:08:57 -07:00
Brendan Burns
682c68c2fb Address comments, and fix some bugs in kubectl. 2015-09-09 11:48:04 -07:00
Avesh Agarwal
6d6f338fac Adds servicesaccounts to kubectl get/describe cli help and docs. 2015-09-09 12:15:25 -04:00
Wojciech Tyczynski
cd1ac360de Rename "minion" to "node" in few places. 2015-09-09 16:18:23 +02:00
hurf
7b4f91c4ee Doc fix for admission/plugin.go
Complete unfinished doc, changed some comments to be more readable.
2015-09-09 21:23:03 +08:00
k8s-merge-robot
9351ef36fe Merge pull request #13723 from ingvagabund/fix-incorrect-replacement-of-util-CheckErr-for-resource-NewBuilder
Auto commit by PR queue bot
2015-09-09 05:09:46 -07:00
k8s-merge-robot
79f40d6800 Merge pull request #13660 from jsafrane/devel/fix-cloud-init
Auto commit by PR queue bot
2015-09-09 03:42:15 -07:00
Jan Chaloupka
70c74fbe4b Commit cd7d78b696 replaced use of
util.CheckErr(err)

with

if err != nil {
	return err
}

One replacement is incorrent. The current call of resource.NewBuilder is returned in r variable. Which was tested with util.CheckErr(r.Err()) before cd7d78b696 commit. It was replaced by

if err != nil {
	return err
}

which is incorrect as err is not set by resource.NewBuilder call. The correct use is

err := r.Err()
if err != nil {
	return err
}
2015-09-09 12:40:55 +02:00
Jerzy Szczepkowski
6998247e1b Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735.
2015-09-09 10:59:43 +02:00
jiangyaoguo
1460a1fb9e Rate limit events in kubelet
1. Add EvnetRecordQps and EventBurst parameter in kubelet.
2. If  EvnetRecordQps and EventBurst was set, rate limit events in kubelet
with a independent ratelimiter as setted.
2015-09-09 16:57:21 +08:00
k8s-merge-robot
0f4fa4ed25 Merge pull request #13704 from feihujiang/removeTheRedundantDefiniiteArticle
Auto commit by PR queue bot
2015-09-08 23:48:18 -07:00
k8s-merge-robot
0a7921e988 Merge pull request #13538 from brendandburns/thirdparty
Auto commit by PR queue bot
2015-09-08 23:17:56 -07:00
Brendan Burns
61f272c8cd Update the third party data codec to automatically include everything
in api.ObjectMeta.  Add more tests.
2015-09-08 21:13:06 -07:00
feihujiang
d4a3e30edd Remove the redundant definite article 2015-09-09 11:40:36 +08:00
Sam Ghods
f6fb0e9236 Fix yaml booleans and ints not always marshaling to strings 2015-09-08 20:20:05 -07:00
k8s-merge-robot
0f1525ce9b Merge pull request #13678 from pmorie/serialization-debug
Auto commit by PR queue bot
2015-09-08 16:37:18 -07:00
Chao Xu
1c02ea04a7 Merge pull request #13605 from caesarxuchao/fix-verify-descriptions
Fix verify-descriptions.sh
2015-09-08 11:41:44 -07:00
Chao Xu
a6566031be Merge pull request #13422 from feihujiang/supportSettingEnvInKubectlRun
Support setting env vars in kubectl run
2015-09-08 10:32:48 -07:00
Paul Morie
502492f3ed Make serialization tests easier to debug 2015-09-08 13:19:08 -04:00
Chao Xu
10c8179030 enable verify-description.sh for pkg/expapi/v1/types.go 2015-09-08 08:59:52 -07:00
Jerzy Szczepkowski
bd8227b92c Memory based horizontal pod autoscaling.
Implemented horizontal autoscaling of pods based on memory consumption.
2015-09-08 12:14:04 +02:00
k8s-merge-robot
67adc27221 Merge pull request #13656 from wojtek-t/revert_pod_startup_time
Auto commit by PR queue bot
2015-09-08 02:35:28 -07:00
Jan Safranek
f7384827b8 Fixed error handling of cloud init.
Avoid creating a new 'err' variable in the 'if'-branch, shadowing the one
in the outer scope.

Any error from subsequent 'cloud, err = GetCloudProvider()' was not propagated
to 'err' variable in the outer scope and thus errors were never returned from
this function.

This is hard to debug error on OpenStack, when content of --cloud-config=
file is wrong or connection to OpenStack fails. Such error is never logged
and Kubernetes thinks everything is OK.
2015-09-08 10:46:49 +02:00
Wojciech Tyczynski
b85d0557b4 Revert #13052 2015-09-08 09:40:12 +02:00
k8s-merge-robot
196f58b9cb Merge pull request #13187 from hurf/expose_out
Auto commit by PR queue bot
2015-09-08 00:36:36 -07:00
feihujiang
84e94e39cd Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
feihujiang
008a26f690 Get the terminated pod by name 2015-09-08 14:15:36 +08:00
k8s-merge-robot
bb3e20e361 Merge pull request #13642 from gmarek/nodecontroller_race
Auto commit by PR queue bot
2015-09-07 13:01:59 -07:00
markturansky
a5feac5739 improved recycler unit test 2015-09-07 14:44:49 -04:00
k8s-merge-robot
d448c83d76 Merge pull request #13636 from feihujiang/addPodNameToErrorMessage
Auto commit by PR queue bot
2015-09-07 11:39:32 -07:00
gmarek
98b954c74c Add a mutex to assure atomicity of reat_limited queue operations and remove 'leaky' version of it 2015-09-07 15:04:59 +02:00
Marcin Wielgus
02c30c5d61 Update for scaling rules in HorizontalPodAutoscaler 2015-09-07 12:30:22 +02:00
feihujiang
d713826aa9 Add pod name to error message when getting logs of a container 2015-09-07 17:03:54 +08:00
hurf
8efc62bcce Simplify default output of "expose" command
Use simple output string such as "rc nginx exposed" to show the
result. Users can still use options like "-o yaml" to view detailed
result.

IP will be printed with detailed result now.
2015-09-07 15:17:17 +08:00
Dai Zuozhuo
2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Dai Zuozhuo
9ccceac5e8 sort jsonpath_test results 2015-09-05 22:29:35 +08:00
Harry Zhang
7b2e2e5649 Fix tests and clear fmt mess in manager.go 2015-09-05 04:52:51 +00:00
k8s-merge-robot
2e2def36a9 Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
k8s-merge-robot
e6e69e31ec Merge pull request #13363 from mesosphere/abort-kubelet-syncloop
Auto commit by PR queue bot
2015-09-04 17:45:32 -07:00