Commit Graph

17474 Commits

Author SHA1 Message Date
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
Mike Danese
fa8ddb4cde Merge pull request #13802 from Huawei-PaaS/fix-dead-link-in-docker-md
fix the dead link of docker.md
2015-09-10 19:18:41 -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
jiangyaoguo
62c0c35307 Fix reporting reason in kubelet
1. Make reason field of StatusReport objects in kubelet in CamelCase format.
2. Add Message field for ContainerStateWaiting to describe detail about Reason.
3. Make reason field of Events in kubelet in CamelCase format.
4. Update swagger,deep-copy and so on.
2015-09-11 10:01:08 +08:00
Janet Kuo
edc75cd565 Fix the bug that determining guaranteed qos won't work well with small numbers 2015-09-10 18:21:51 -07:00
Janet Kuo
2e5aeaff52 Add percentage of total limits and a help doc to explain why it may be over 100% 2015-09-10 18:21:50 -07:00
Janet Kuo
5ffe46d376 Use resource.Quantity string representation to print requests and limits 2015-09-10 18:21:50 -07:00
Janet Kuo
22a794cc22 List resource QoS tier of each container when describing pods; Re-order resource table 2015-09-10 18:21:50 -07:00
Janet Kuo
6e76f1aef7 Show more information in describe node/pod 2015-09-10 18:21:50 -07:00
huangyuqi
4508101c1b fix typo error of ovs networking.png 2015-09-11 09:06:33 +08: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
82d6489556 Manually fixing docs, since gendocs messes up the links. 2015-09-10 17:17:59 -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
a34cdd1e18 Merge pull request #13793 from socaa/millicore-au
Auto commit by PR queue bot
2015-09-10 16:30:56 -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
k8s-merge-robot
1c3daac869 Merge pull request #13826 from JanetKuo/kubectl-bash-completion-docs
Auto commit by PR queue bot
2015-09-10 15:33:57 -07:00
yuqi huang
8de12acc3d fix the dead link &typo error of docker.md
fix the dead link &typo error of docker.md
2015-09-10 22:14:11 +00: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
cbee5c36f4 docs: update rkt guide, add debugging tips. 2015-09-10 14:58:03 -07:00
Yifan Gu
4f6f5586d2 hack/local-up-cluster.sh: add new rkt flags for kubelet. 2015-09-10 14:58:03 -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
JanetKuo
a7cd53bc7e Distribute kubectl bash completion file with kubernetes binaries 2015-09-10 14:25:39 -07:00
k8s-merge-robot
4167b602b9 Merge pull request #13578 from brendandburns/docs
Auto commit by PR queue bot
2015-09-10 14:02:03 -07:00
jackgr
3ecb1bac83 Add method to create strategic merge patch. 2015-09-10 14:01:07 -07:00
k8s-merge-robot
c0d0ef6dd1 Merge pull request #13817 from a-robinson/varlib
Auto commit by PR queue bot
2015-09-10 13:24:07 -07:00
JanetKuo
3ad58322dd Document how to install kubectl bash completion 2015-09-10 13:17:27 -07:00
Mike Danese
a48f218264 Merge pull request #13754 from tummychow/labels-deps
Move util.StringSet into its own package
2015-09-10 13:10:54 -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
Mike Danese
1fec199356 Merge pull request #13824 from kubernetes/revert-13547-hpa-kubeup
Revert "Turning on pod autoscaler on GCE."
2015-09-10 12:53:10 -07:00
Quinton Hoole
eaf0e3e2f3 Merge pull request #13813 from quinton-hoole/2015-09-10-banish-e2e-try-again
Banish service up and down e2e test in parallel to flaky
2015-09-10 12:27:12 -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
Brendan Burns
fd73a600a0 Add a code of conduct. 2015-09-10 11:53:27 -07:00
Jeff Lowdermilk
08442974bb Revert "Turning on pod autoscaler on GCE." 2015-09-10 11:46:37 -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í
c054b20148 Avoid using two periods in templates
Since $id_field already starts with a period, .$id_field would result in the
following in Go 1.5:

error: error parsing template {{range.items}}{{..metadata.name}}:{{end}}, template: output:1: unexpected . after term "."

Apparently, Go 1.4 allowed this. Unnecessary anyway.
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
Alex Robinson
746dcb8075 Make fluentd-es output its warning logs and fluentd-gcp mount
/var/lib/docker read-only.
2015-09-10 18:28:27 +00: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
Luke Mino-Altherr
f2664fc73b Fix getting kube-proxy 2015-09-10 10:16:46 -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
k8s-merge-robot
92f21b3fe3 Merge pull request #13790 from kevin-wangzefeng/fix_typo_in_development_md
Auto commit by PR queue bot
2015-09-10 09:48:08 -07:00