Commit Graph

17371 Commits

Author SHA1 Message Date
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
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
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
k8s-merge-robot
6f2fa9eb41 Merge pull request #13547 from jszczepkowski/hpa-kubeup
Auto commit by PR queue bot
2015-09-10 09:17:20 -07:00
k8s-merge-robot
08fbe2bc10 Merge pull request #13789 from socaa/resource-consumer-memory
Auto commit by PR queue bot
2015-09-10 08:49:42 -07:00
Mike Danese
bf881f187e rename expapi.Daemon to expapi.DaemonSet 2015-09-10 08:34:26 -07:00
Jerzy Szczepkowski
b41862b670 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-10 16:10:01 +02:00
k8s-merge-robot
6a5049f09d Merge pull request #13788 from socaa/millicore
Auto commit by PR queue bot
2015-09-10 06:30:42 -07:00
k8s-merge-robot
3afa6954cc Merge pull request #13728 from mfojtik/intercept-exit
Auto commit by PR queue bot
2015-09-10 05:36:40 -07:00
Ewa Socala
9e640b356c Memory consumption added to Resource Consumer 2015-09-10 13:50:49 +02:00
k8s-merge-robot
703130e8e4 Merge pull request #12915 from kevin-wangzefeng/centos_baremetal
Auto commit by PR queue bot
2015-09-10 04:17:19 -07:00
Kevin
82aaf118e2 remove the dependency on brctl, update default config and rephrase minion to node 2015-09-10 16:11:16 +00:00
Kevin
de9d722993 update centos deployment scripts, add sudo user support. 2015-09-10 15:47:07 +00:00
Kevin
4e2613575d update centos deployment scripts call make-ca-cert.sh to generate certs 2015-09-10 15:47:06 +00:00
Kevin
5f985045f4 set default docker storage driver to devicemapper and fix DOCKER_OPTS passing 2015-09-10 15:47:06 +00:00
Kevin
ff9d482c82 Add CentOS BareMetal deployment scripts. 2015-09-10 15:47:06 +00:00
k8s-merge-robot
cfa5e516a8 Merge pull request #13655 from Huawei-PaaS/change_random_to_roundrobin_in_services_md
Auto commit by PR queue bot
2015-09-10 03:43:07 -07:00
Ewa Socala
569ebf7a9b Resource Consumer Handler milicore changed to millicore 2015-09-10 12:17:02 +02:00
k8s-merge-robot
5adae4e4a3 Merge pull request #12530 from gmarek/kubemark_doc
Auto commit by PR queue bot
2015-09-10 01:54:07 -07:00
k8s-merge-robot
f0f0d30c46 Merge pull request #13726 from gmarek/kubelet-changes
Auto commit by PR queue bot
2015-09-10 01:52:39 -07:00
gmarek
ca30de0bde Initial kubemark proposal 2015-09-10 09:54:42 +02:00
gmarek
44e6a566f6 alphabetize structs in cmd/kubelet/app/server.go 2015-09-10 09:54:12 +02: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
f867ba3ba1 Merge pull request #13682 from ryfow/block-startup-for-cert
Auto commit by PR queue bot
2015-09-10 00:24:23 -07:00
gmarek
3f8953e23b Add additional knobs to SimpleKubelet 2015-09-10 09:24:13 +02:00
k8s-merge-robot
c047f82891 Merge pull request #13773 from mikedanese/enable-experimental
Auto commit by PR queue bot
2015-09-09 22:34:44 -07:00
k8s-merge-robot
1c420bb33f Merge pull request #13454 from jimmidyson/cadvisor-update
Auto commit by PR queue bot
2015-09-09 19:25:25 -07: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
k8s-merge-robot
434f05c0e3 Merge pull request #13705 from liggitt/attach
Auto commit by PR queue bot
2015-09-09 18:19:35 -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
e5e1ef301f Merge pull request #12951 from caesarxuchao/APIGroup-proposal
[RFC] adding a proposal for api groups
2015-09-09 17:44:32 -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
k8s-merge-robot
a535509fbe Merge pull request #13747 from mattmoor/prefix-to-hostname
Auto commit by PR queue bot
2015-09-09 17:35:58 -07:00
Chao Xu
fe0a7ae51a Merge pull request #13740 from soltysh/fix_runtime_config_flag
Fixed passing RUNTIME_CONFIG flag
2015-09-09 17:15:30 -07:00
k8s-merge-robot
4f84e3f779 Merge pull request #13758 from amygdala/gb2
Auto commit by PR queue bot
2015-09-09 17:03:04 -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
Chao Xu
183c6e2e84 Merge pull request #13652 from clasohm/example_download_links_raw
add raw flag for GitHub download links
2015-09-09 16:19:14 -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
Chao Xu
3dec97e839 Merge pull request #13767 from smarterclayton/lock_conventions
Define lock coding convention
2015-09-09 15:59:08 -07:00
Chao Xu
73df8f30a3 adding a proposal for api groups 2015-09-09 15:55:16 -07:00
Mike Danese
b104f660da enable the experimental API group in e2e tests 2015-09-09 15:26:32 -07:00
Clayton Coleman
23133a7344 Define lock coding convention 2015-09-09 18:03:54 -04: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