feihujiang
084c7fe82a
Enhance error message for scale's replicas operation
2015-09-11 16:15:13 +08:00
k8s-merge-robot
bfc60709b1
Merge pull request #13468 from yifan-gu/rkt_doc
...
Auto commit by PR queue bot
2015-09-10 20:32:08 -07:00
k8s-merge-robot
865359d33d
Merge pull request #13481 from brendandburns/attach3
...
Auto commit by PR queue bot
2015-09-10 20:05:19 -07:00
k8s-merge-robot
f8804ed166
Merge pull request #13798 from hurf/lr_dup
...
Auto commit by PR queue bot
2015-09-10 19:11:27 -07:00
Mike Danese
ae7b13d40e
Merge pull request #13341 from lavalamp/clientCache
...
Move pkg/client/unversioned/cache to pkg/client/cache; it is version-…
2015-09-10 17:57:25 -07:00
k8s-merge-robot
e46c940cae
Merge pull request #13545 from brendandburns/kubectl
...
Auto commit by PR queue bot
2015-09-10 17:23:11 -07:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
k8s-merge-robot
ee7168d868
Merge pull request #13815 from robertabbott/abbott/kubelet_get_instead_of_list
...
Auto commit by PR queue bot
2015-09-10 15:59:01 -07:00
Mike Danese
b0457bee94
Merge pull request #13058 from mvdan/go1.5
...
Race condition and test fixes
2015-09-10 15:10:19 -07:00
Yifan Gu
e7b9c50ba1
kubelet/rkt: add support for different stage1 image.
...
Also enable grace stop for service files.
2015-09-10 14:58:03 -07:00
k8s-merge-robot
381a723814
Merge pull request #13532 from JanetKuo/kubectl-dont-use-specific-printer
...
Auto commit by PR queue bot
2015-09-10 14:39:02 -07:00
Daniel Martí
d15de72a92
Fix race condition in controller_test
...
Our WaitGroup.Add() call might happen after some WaitGroup.Done() calls done
by the controller, so make sure that doesn't happen by doing the Add() calls
before letting the controller run.
--- FAIL: TestUpdate (2.00s)
panic: sync: WaitGroup is reused before previous Wait has returned [recovered]
panic: sync: WaitGroup is reused before previous Wait has returned
2015-09-10 14:33:23 -07:00
Brendan Burns
2b3bb33569
Address comments.
2015-09-10 13:07:13 -07:00
Brendan Burns
56a1cd76cb
Address changes.
2015-09-10 13:05:32 -07:00
Brendan Burns
b485821bb1
Enable custom columns printing in kubectl
2015-09-10 13:05:32 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Daniel Martí
71ca503d30
Try to fix flaky test in record/event
...
The error messages were inconsistent with what was actually being tested in
regards to timestamps being equal or not.
2015-09-10 11:44:14 -07:00
Daniel Martí
ad243edaa3
Fix race condition in watch
...
The Shutdown() call returned immediately, without waiting for all event
distributions to be completed. Even worse, it would close all the watcher
result channels before all the info was sent to them.
Properly wait for all distributor goroutines - currently only one - to be
finished.
This fixes the flaky test TestBroadcasterDropIfChannelFull. Bonus cleanup on
said test too.
2015-09-10 11:44:14 -07:00
Daniel Martí
7aca60f636
Fix probe/tcp test on some systems
...
Depending on your system, the error might be "Servname not supported for
ai_socktype" instead of "unknown port". Accept both.
For example:
http://www.ducea.com/2006/09/11/error-servname-not-supported-for-ai_socktype/
2015-09-10 11:44:14 -07:00
Daniel Martí
0b10c6cfae
Fix failing test in probe/http
...
The error that Go 1.5 returns is different compared to 1.4. Support both.
2015-09-10 11:44:13 -07:00
Daniel Martí
5f3aff2c43
Fix struct input test in jsonpath
2015-09-10 11:44:13 -07:00
Bobby Abbott
9a5f43e16d
Kubelet#GetNode now uses GetNodeInfo instead of List
...
Both GetNode and the cache.ListWatch listfunc in the
kubelet package call List unnecessary.
GetNodeInfo is sufficient for GetNode and makes looping
through a list of nodes to check for a matching name
unnecessary.
resolves #13476
2015-09-10 10:50:41 -07:00
k8s-merge-robot
1313e3b14e
Merge pull request #13700 from mikedanese/daemon_set
...
Auto commit by PR queue bot
2015-09-10 10:15:45 -07:00
Mike Danese
bf881f187e
rename expapi.Daemon to expapi.DaemonSet
2015-09-10 08:34:26 -07:00
hurf
f61d434e1f
Remove duplicate value assginment when validating limitrange
...
It's unnecessary to get the quantities again from limit.
2015-09-10 21:26:53 +08:00
Michal Fojtik
fb14c8cdf3
Allow to replace os.Exit() with panic when CLI command fatal error
2015-09-10 09:42:22 +02:00
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
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
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