Commit Graph

18095 Commits

Author SHA1 Message Date
Eric Tune
edb269baa0 Merge pull request #14428 from socaa/autoscaling-utils-wait-for-service
WaitForService added to autoscaling_utils.go
2015-09-23 10:47:59 -07:00
Yu-Ju Hong
8319a5c822 Replace testDocker with container.fakeRuntime in runonce_test
runonce_test should not be testing docker-specific logic.
2015-09-23 09:24:51 -07:00
Sami Wagiaalla
3e9587997f Correct comments in mount.go
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-09-23 11:40:17 -04:00
Ewa Socala
1c74b33042 Unit tests for metrics_client.go 2015-09-23 17:36:18 +02:00
Dr. Stefan Schimanski
643a7f193a Assume full cgroup hierarchy only on gce and gke for e2e tests
Other cluster provider than gce or gke might have different cgroup layouts.
From outside we cannot know how these look like (especially in conformance test
which do not know the cluster provider at all).

Hence, this PR defaults to only the "/" cgroup to collect stats for. In the case
of gce or gke the full container list is tested.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/436
2015-09-23 16:52:56 +02:00
Dr. Stefan Schimanski
f9f91fd99d Remove cgroup list dependent e2e test from conformance test suite
As discussed @gmarek the given test does not belong into the conformance test
suite because it makes a lot of static assumptions about the cgroup setup of the
nodes which cannot be fulfilled by all cluster providers. Depending on the
installation the kubelet is not allowed to move around process
into specific containers.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/439.
2015-09-23 16:52:56 +02:00
Ewa Socala
58bea1b7e3 WaitForService added to autoscaling_utils.go 2015-09-23 16:13:05 +02:00
Marek Grabowski
efedcb6ca1 Merge pull request #14425 from gmarek/tests
Move one of the service tests to skipped.
2015-09-23 15:25:12 +02:00
gmarek
816b20a179 Move one of the service tests to skipped. 2015-09-23 15:18:19 +02:00
gmarek
9d57f2c571 Remove dead RateLimit function from API server handlers 2015-09-23 13:44:37 +02:00
gmarek
66ca7fcc92 Functionally revert #12894 2015-09-23 12:15:38 +02:00
eulerzgy
6e92c9393a change minion to node 2015-09-23 17:49:22 +08:00
Lénaïc Huard
8b99dd6fb1 Get rid of the etcd discovery mechanism in favor of static configuration
In order to make the etcd instances of the VMs join into a single cluster,
we used to use the discovery mechanism.
This made the cluster bootstrap dependent on an external etcd cluster instance.

74601ea replaced the dependency on discovery.etcd.io by a local etcd cluster.

This change completely gets rid of the dynamic discovery mechanism in favor
of the static configuration method.

This should be both safe and light since it completely removes the need of having
an external etcd cluster running somewhere (either discovery.etcd.io, or locally).
2015-09-23 11:34:55 +02:00
Harry Zhang
0840785730 Fix minor error in Pod introduction 2015-09-23 16:08:09 +08:00
Marek Grabowski
28585bc699 Merge pull request #13966 from mesosphere/mesos-graceful-termination
MESOS: Send graceful termination update from executor to kubelet
2015-09-23 09:51:29 +02:00
Zichang Lin
33274ac717 Change a describe in docs/design/secrets.md 2015-09-23 14:58:16 +08:00
Zichang Lin
fb373d050b Fix document link 2015-09-23 10:17:05 +08:00
Eric Tune
45a8b5f98a Merge pull request #14286 from ArtfulCoder/split-KP-Tests
Make KubeProxy test faster
2015-09-22 15:41:49 -07:00
Dawn Chen
5649939a36 Add new flag to flag file. 2015-09-22 15:18:34 -07:00
Dawn Chen
38583307ca flag controlled RLIMIT_NOFILE for kubelet. 2015-09-22 15:18:34 -07:00
Eric Tune
f59a44310f Merge pull request #14268 from mesosphere/sttts-fix-mesos-slave-escaping
MESOS: Fix escaping in mesos-slave command line
2015-09-22 14:11:30 -07:00
Eric Tune
f614e7df63 Merge pull request #14168 from tmrts/refactor/tests
Refactor downward API volume plugin test
2015-09-22 13:52:31 -07:00
Abhishek Shah
a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
Eric Tune
6dbb781093 Merge pull request #14320 from erictune/fix-daemonset-logging
Reduce verbosity of DaemonSet controller.
2015-09-22 13:36:46 -07:00
Eric Tune
f92da0c714 Merge pull request #14323 from brendandburns/flakes2
Fix a flake in the kubelet test.
2015-09-22 13:36:22 -07:00
derekwaynecarr
c1b2f62299 Vagrant salt-minion should have low oom_score_adj and restart policy 2015-09-22 16:02:30 -04:00
Saad Ali
2d69baf920 Merge pull request #14372 from markturansky/remove_flaky_test
Fixed code issues related to hasty test refactor
2015-09-22 12:06:36 -07:00
markturansky
f4232d3299 fixed code issues related to hasty test refactor 2015-09-22 14:44:31 -04:00
Eric Tune
701d3cd1da Merge pull request #14373 from caesarxuchao/fix-kube-version-change
fix the package in cmd/kube-version-change/import_known_versions.go
2015-09-22 11:28:12 -07:00
Chao Xu
6dc61f1bea fix the package in cmd/kube-version-change/import_known_versions.go 2015-09-22 11:23:55 -07:00
Andy Goldstein
95041ab0ae Check the condition immediately in util.Wait funcs
Have poller() send to the channel once, immediately, before the ticker
starts. This way, Poll, PollInfinite, and WaitFor will check the
condition immediately, instead of waiting for the poller's interval to
elapse once before doing the initial condition check.
2015-09-22 14:06:52 -04:00
Eric Tune
b113b5ac2a Merge pull request #14336 from erictune/more-verbosity-job-controller
Log the error when unable to update job.
2015-09-22 11:03:11 -07:00
Eric Tune
8258c1b05f Merge pull request #14356 from markturansky/remove_flaky_test
Removed flaky test.
2015-09-22 10:41:27 -07:00
markturansky
d2e8ec934c merged recycler+deleter tests so they run serially 2015-09-22 13:36:26 -04:00
Eric Tune
e560a4b600 Merge pull request #14360 from mikedanese/ds-describe
move daemonset describe to experimental
2015-09-22 10:32:55 -07:00
markturansky
6dca2a4e7f removed flaky test. other integration tests (and many unit tests) also cover binding 2015-09-22 13:26:20 -04:00
Lénaïc Huard
6fad7d3520 Revert "Add local etcd discovery support for libvirt-coreos"
This reverts commit 74601eabbe.
2015-09-22 18:30:39 +02:00
Mike Danese
2313c9ada0 move daemonset describe to experimental 2015-09-22 09:13:42 -07:00
k8s-merge-robot
ab07e320ec Merge pull request #13725 from HaiyangDING/update_resource-quota_doc
Auto commit by PR queue bot
2015-09-22 08:56:12 -07:00
k8s-merge-robot
34ef11321c Merge pull request #14341 from mikedanese/not-ready
Auto commit by PR queue bot
2015-09-22 08:53:42 -07:00
Dr. Stefan Schimanski
be57b2871e Watch pods in executor and tell kubelet about graceful terminations
- instantiate framework.Controller for pods in the executor using framework.NewInformer,
  in order to watch pod updates for pods on that host
- forwards updates like graceful termination to the kubelet.

  This might also be the preparation for other updates which are supported by the
  kubelet.
2015-09-22 16:41:43 +02:00
Dr. Stefan Schimanski
e4dcd97ac3 Dequeue pods in scheduler which are terminating 2015-09-22 16:41:43 +02:00
k8s-merge-robot
e535e27e82 Merge pull request #14279 from pweil-/ipc-followup
Auto commit by PR queue bot
2015-09-22 07:28:07 -07:00
k8s-merge-robot
014947c16c Merge pull request #14322 from mikedanese/dead-code
Auto commit by PR queue bot
2015-09-22 07:05:27 -07:00
Dr. Stefan Schimanski
ec69cb22bd Fix escaping in mesos-slave command line 2015-09-22 15:02:21 +02:00
Salvatore Dario Minonne
d7e493af5e updating label selector doc 2015-09-22 12:26:38 +02:00
k8s-merge-robot
09cf38e9a8 Merge pull request #14275 from socaa/autoscaling
Auto commit by PR queue bot
2015-09-22 02:35:38 -07:00
k8s-merge-robot
98231d1f68 Merge pull request #14171 from jszczepkowski/deployment-scale
Auto commit by PR queue bot
2015-09-22 01:37:41 -07:00
eulerzgy
9f82ffa273 change kubernetes-mininon to kubernetes-node 2015-09-22 16:30:09 +08:00
Ewa Socala
a9a52a9750 Use Resource Consumer for tests in autoscaling.go 2015-09-22 10:29:38 +02:00