Commit Graph

1582 Commits

Author SHA1 Message Date
Jerzy Szczepkowski
c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Wojciech Tyczynski
3ab11970d8 Properly use framework in load test 2015-09-24 12:02:49 +02:00
Jerzy Szczepkowski
ec0e1faab4 Merge pull request #14476 from gmarek/framework
Add an option to modify timeout for namespace duration in e2e Framework
2015-09-24 11:01:27 +02:00
gmarek
1459a1523f Add an option to modify timeout for namespace duration in e2e Framework 2015-09-24 10:32:34 +02:00
Jerzy Szczepkowski
c53df247c8 Merge pull request #14440 from brendandburns/flakes2
Increase some more timeouts to eliminate flakes
2015-09-24 10:23:34 +02:00
Jerzy Szczepkowski
0c10d11207 Merge pull request #14456 from brendandburns/flakes3
Turn off race detection in the etcd tools test as etcd client isn't thread safe.
2015-09-24 09:56:53 +02:00
Brendan Burns
d3379e72be Turn off race detection in the etcd tools test as etcd client isn't thread safe 2015-09-23 21:25:26 -07:00
Yu-Ju Hong
0b8244505c Add a slow e2e test to monitor kubelet resource usage
This test tracks kubelet resource usage over a long period of time (1hr)
when running N pods (e.g., N=0,50), and prints out the resource usage. This
would give us an idea how much kubelet's management overhead is in a stable
cluster.

Some followup items:
 * Use a more realistic workload (e.g., including probing)
 * Fail the test if the resource usage is too high.

Caveat:
 * We assume the scheduler would do a decent job distributing the pause pods,
   but we should double check.
 * Cluster addon pods could be unevenly distributed and skews the resource
   usage on nodes.
2015-09-23 18:22:20 -07:00
Yu-Ju Hong
ab85b9a7d6 e2e: add a function to reset the stats in resource monitor
The function can be called in a long-running test to clear exsiting
stats (free the memory), and start over.
2015-09-23 17:55:12 -07:00
Eric Tune
13821de107 Merge pull request #14427 from mesosphere/sttts-resource-tests
Avoid assumption of a fixed list of cgroups in e2e conformance tests
2015-09-23 16:22:53 -07:00
saadali
f6bc538a46 Add new GCE PD E2E test to verify two PDs attached to one container 2015-09-23 15:08:11 -07:00
Brendan Burns
f529cc71ca Increase some more timeouts to eliminate flakes 2015-09-23 14:56:29 -07:00
Eric Tune
de38de0c1a Merge pull request #14064 from brendandburns/flakes
Increase a bunch of timeouts to reduce flakes
2015-09-23 12:56:27 -07:00
Brendan Burns
77fd388485 Increase a bunch of timeouts to reduce flakes 2015-09-23 11:09:03 -07: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
Maciej Szulik
48775319d9 Reaper and scaler for jobs 2015-09-23 13:06:34 +02:00
Abhishek Shah
09465c9a2a allow privileged pods 2015-09-22 13:44:08 -07:00
Abhishek Shah
a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
markturansky
f4232d3299 fixed code issues related to hasty test refactor 2015-09-22 14:44:31 -04:00
markturansky
d2e8ec934c merged recycler+deleter tests so they run serially 2015-09-22 13:36:26 -04:00
markturansky
6dca2a4e7f removed flaky test. other integration tests (and many unit tests) also cover binding 2015-09-22 13:26:20 -04:00
Ewa Socala
a9a52a9750 Use Resource Consumer for tests in autoscaling.go 2015-09-22 10:29:38 +02:00
k8s-merge-robot
e13263384b Merge pull request #14331 from saad-ali/fix14284Actually
Auto commit by PR queue bot
2015-09-21 20:47:40 -07:00
saadali
cd56b041f3 Fix #14284: TestPersistentVolumeClaimBinder flake 2015-09-21 19:21:06 -07:00
k8s-merge-robot
c96c76b729 Merge pull request #13780 from smarterclayton/pod_logs
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
k8s-merge-robot
5b898127d8 Merge pull request #14295 from ixdy/e2e-client-timeout
Auto commit by PR queue bot
2015-09-21 14:49:50 -07:00
k8s-merge-robot
6c30a0e170 Merge pull request #13955 from caesarxuchao/API-discovery
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
Clayton Coleman
c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Jeff Grafton
11f3785023 e2e: set default timeout on Client 2015-09-21 12:34:51 -07:00
Chao Xu
1278771b34 let apiserver support api discovery 2015-09-21 12:20:24 -07:00
k8s-merge-robot
b07b9918ce Merge pull request #14055 from gmarek/fix_density
Auto commit by PR queue bot
2015-09-21 11:14:48 -07:00
k8s-merge-robot
979bfc0f18 Merge pull request #14167 from socaa/static-consumption
Auto commit by PR queue bot
2015-09-21 05:13:11 -07:00
Ewa Socala
152991f06c Static Consumption added to autoscaling_utils.go 2015-09-21 10:45:10 +02:00
gmarek
393baa5157 Allow Density to run on non-GCE/GKE provider, rename deleteTestingNS
function.
2015-09-21 10:43:45 +02:00
k8s-merge-robot
568c0331b0 Merge pull request #13650 from markturansky/prov_creater
Auto commit by PR queue bot
2015-09-20 16:57:36 -07:00
k8s-merge-robot
c2f76e4ce7 Merge pull request #14106 from jszczepkowski/hpa-api
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
Marek Grabowski
98a971cc2e Revert "Update prometheus library usage" 2015-09-19 22:18:15 +02:00
Eric Paris
20c01f072d Merge pull request #14202 from timstclair/prometheus
Update prometheus library usage
2015-09-19 10:06:13 -05:00
k8s-merge-robot
cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07:00
Tim St. Clair
045238563a Remove deprecated prometheus extraction libraries 2015-09-18 14:38:44 -07:00
Tim St. Clair
3a94f3b5c2 Use up-to-date prometheus extraction libraries 2015-09-18 14:38:44 -07:00
k8s-merge-robot
e7d4426158 Merge pull request #14136 from mikedanese/deamon-e2e
Auto commit by PR queue bot
2015-09-18 11:43:01 -07:00
markturansky
9c7d03b2b6 added separate clients per caller in integration tests 2015-09-18 13:23:21 -04:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
Abhishek Shah
485e1930e4 renamed variable in test file 2015-09-18 09:04:03 -07:00
Marcin Wielgus
0f8cc8926f Merge pull request #13786 from socaa/hpa-test
Horizontal Pod Autoscaler is deleted along with namespace
2015-09-18 12:22:38 +02:00
k8s-merge-robot
434b768822 Merge pull request #13277 from uluyol/sv-detect-group
Auto commit by PR queue bot
2015-09-18 01:31:43 -07:00
Ewa Socala
d6d199ddab Horizontal Pod Autoscaler is deleted along with namespace 2015-09-18 09:38:10 +02:00
Muhammed Uluyol
f855e75805 Correctly do swagger validation with experimental.
Before we tried both groups, first api then experimental. If
experimental failed, the error message would be discarded and the
message for api would be shown. This commit changes this behavior so
that we detect which api group we should be using and only show the
error for that group.
2015-09-17 22:54:56 -04:00
Daniel Martí
586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Mike Danese
cd1229542f retry updates of nodes in daemonset e2e 2015-09-17 17:50:27 -07:00
Chao Xu
55b0bf0d22 fix e2e 2015-09-17 16:14:03 -07:00
k8s-merge-robot
5fbaa05362 Merge pull request #13697 from ArtfulCoder/kube-proxy-tests
Auto commit by PR queue bot
2015-09-17 15:29:44 -07:00
Kris
f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
k8s-merge-robot
055f5ff9b9 Merge pull request #13649 from markturansky/prov_deleter
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
k8s-merge-robot
7cee028497 Merge pull request #13778 from smarterclayton/unready_endpoints
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
markturansky
c2de9e9647 Added volume.Deleter interface and simple HostPath implementation 2015-09-17 12:08:58 -04:00
Clayton Coleman
bf2decce81 Add NotReadyAddresses to Endpoints
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.

This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
Ewa Socala
997186d10c CPU & Memory Limit added to RCConfig in autoscaling_utils.go 2015-09-17 15:19:21 +02:00
Jerzy Szczepkowski
7fcf7f1177 Cleanups in HorizontalPodAutoscaler API.
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
k8s-merge-robot
400e6856b0 Merge pull request #14036 from socaa/hpa-mem-tests
Auto commit by PR queue bot
2015-09-17 00:27:59 -07:00
Abhishek Shah
1752d6350b kube-proxy test 2015-09-16 22:33:59 -07:00
k8s-merge-robot
5de53988e2 Merge pull request #14086 from jlowdermilk/deflake-kubectl-expose
Auto commit by PR queue bot
2015-09-16 20:27:31 -07:00
k8s-merge-robot
7a04c95bc5 Merge pull request #14093 from lavalamp/removeGinkgoDefer
Auto commit by PR queue bot
2015-09-16 20:04:11 -07:00
Mike Danese
77a06cbf05 Merge pull request #13183 from mikedanese/daemon_kubectl
Add daemonset support to kubectl
2015-09-16 19:02:36 -07:00
k8s-merge-robot
426d4a2477 Merge pull request #13945 from caesarxuchao/kube-api-prefix
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
Daniel Smith
4d4bbab7de Remove unnecessary GinkgoRecover() calls 2015-09-16 17:46:24 -07:00
Jeff Lowdermilk
12010e9832 Add kubectl expose to GCE_PARALLEL_FLAKY_TESTS
It's essentially the same as Services.*expose, just using kubectl
instead of client lib.

Fixes #14078
2015-09-16 16:26:36 -07:00
Ewa Socala
e837209f15 Memory dynamic consumption 2015-09-16 14:43:23 +02:00
Mike Danese
52ccf54dab Add daemon reaper test to kubectl 2015-09-15 18:13:28 -07:00
Mike Danese
54b0faf39a rebase onto head 2015-09-15 18:13:28 -07:00
Jeff Lowdermilk
e0aeb1151b Merge pull request #9870 from markturansky/recyc_config
Allow Volume Plugins to be configurable
2015-09-15 17:53:49 -07:00
Chao Xu
9bef5ff99d register experimental apis as apis/experimental/..
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
gmarek
96a90f45c3 Allow disabling waiting for a service account in e2e tests 2015-09-15 12:49:49 -04:00
markturansky
7bc55b5aea configurable pv recyclers 2015-09-15 12:48:25 -04:00
Piotr Szczesniak
66759a4e24 Bumped image tag for Resource Consumer 2015-09-15 16:10:58 +02:00
k8s-merge-robot
bf641078eb Merge pull request #13785 from wojtek-t/minion_to_node_2
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
k8s-merge-robot
db128ac0f7 Merge pull request #13736 from socaa/dockerfile-memory
Auto commit by PR queue bot
2015-09-14 16:35:52 -07:00
Jeff Lowdermilk
e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
k8s-merge-robot
50d805110a Merge pull request #13716 from mesosphere/mesos-e2e-provider-independence
Auto commit by PR queue bot
2015-09-14 02:49:59 -07:00
Wojciech Tyczynski
53ae56f205 Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
k8s-merge-robot
4aa412e04d Merge pull request #13810 from quinton-hoole/2015-09-10-banish-flaky-tests
Auto commit by PR queue bot
2015-09-12 21:10:49 -07:00
Chao Xu
f5023929d8 fix broken files after rebase 2015-09-12 15:45:12 -07:00
Mike Danese
3d9a52d8af add e2e test for changing the labels of a node 2015-09-11 18:32:38 -07:00
Chao Xu
dd6c121d7f massive changes 2015-09-11 17:31:47 -07:00
Mike Danese
1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Ananya Kumar
f8e4f5aa17 Add e2e test for daemon 2015-09-11 16:56:08 -07:00
Daniel Smith
ccd9e3e247 Run all automated tools 2015-09-11 16:11:08 -07:00
Daniel Smith
4c2adabf42 move; sed replace 2015-09-11 16:03:22 -07:00
Abhishek Shah
44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -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
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
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
Quinton Hoole
72cfaf4955 Demote namespace e2e test to flaky in parallel (and fix it's name). 2015-09-10 08:55:11 -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
Ewa Socala
2201a3bfa8 Milicore to Millicore in autoscaling_utils.go 2015-09-10 14:36:19 +02:00
Ewa Socala
9e640b356c Memory consumption added to Resource Consumer 2015-09-10 13:50:49 +02:00
Ewa Socala
569ebf7a9b Resource Consumer Handler milicore changed to millicore 2015-09-10 12:17:02 +02: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
Brendan Burns
682c68c2fb Address comments, and fix some bugs in kubectl. 2015-09-09 11:48:04 -07:00
Brendan Burns
7f4bca80ba Add a test for kubectl run --attach=true 2015-09-09 11:48:03 -07:00
k8s-merge-robot
c08ee6673e Merge pull request #13741 from pmorie/downward-api-volume
Auto commit by PR queue bot
2015-09-09 10:26:52 -07:00
Matt Moore
4a94ce46db Switch from gcr.io/_b_ prefix to b.gcr.io/ to designate bring-your-own-bucket pulls 2015-09-09 10:07:29 -07:00
Paul Morie
561cbcd7c9 Fix typo in downward api volume e2e 2015-09-09 11:48:11 -04:00
Ewa Socala
44e1d55029 added possibility of memory consumption to Dockerfile 2015-09-09 16:09:17 +02:00
Dr. Stefan Schimanski
63e34e3c10 Make Mesos endpoint annotation e2e workaround cluster provider independent 2015-09-09 10:48:41 +02:00
k8s-merge-robot
c8526ad2da Merge pull request #12497 from amygdala/gb2
Auto commit by PR queue bot
2015-09-08 17:59:17 -07:00
k8s-merge-robot
d6128039a5 Merge pull request #13684 from derekwaynecarr/fix_typo_in_resource_consumer
Auto commit by PR queue bot
2015-09-08 13:50:30 -07:00
derekwaynecarr
b05c11edac Fix typo for milicores to millicores 2015-09-08 14:12:08 -04:00
k8s-merge-robot
68e2c3db44 Merge pull request #13665 from wojtek-t/pod_startup_time_metrics
Auto commit by PR queue bot
2015-09-08 07:33:43 -07:00
Wojciech Tyczynski
6cdeb7a711 Test whether pod startup latency is good enough. 2015-09-08 15:07:20 +02:00
Jerzy Szczepkowski
61a66a95a6 Merge pull request #13640 from socaa/horizontal-pod-autoscaling-test
Horizontal Pod Autoscaling e2e tests
2015-09-08 14:54:17 +02:00
Ewa Socala
3ddbb7d96b Horizontal Pod Autoscaling e2e tests 2015-09-08 13:28:41 +02:00
Wojciech Tyczynski
b85d0557b4 Revert #13052 2015-09-08 09:40:12 +02: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
gmarek
e1e3101e75 Add a sleep in resize_nodes test to allow NodeController's Watch to catch up 2015-09-07 15:04:59 +02:00
k8s-merge-robot
06b251e7cd Merge pull request #13600 from quinton-hoole/2015-08-04-deflake-service-endpoints-latency-e2e
Auto commit by PR queue bot
2015-09-07 05:17:14 -07:00
Dai Zuozhuo
2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Quinton Hoole
c324fdd54d Merge pull request #13322 from ncdc/fix-noninteractive-stdin-exec
Various exec fixes
2015-09-04 12:31:28 -07:00
Quinton Hoole
4f5fdfb08b Increase service latency 99th percentile limit from 40s to 50s 2015-09-04 11:45:52 -07:00
Quinton Hoole
10332c3761 Merge pull request #13302 from jsafrane/devel/gluster-test-image
Rebase the gluster test image to CentOS.
2015-09-04 09:08:55 -07:00
Andy Goldstein
c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
Piotr Szczesniak
cbce3a1ab8 Merge pull request #13315 from quinton-hoole/2015-08-27-speed-up-e2e
Create fewer pods in Scheduler Predicates e2e test to speed things up.
2015-09-04 13:47:18 +02:00
Piotr Szczesniak
e724a5210a Merge pull request #13243 from socaa/dynamic-cpu-consumption
Dynamic cpu consumption
2015-09-04 09:43:36 +02:00
Timothy St. Clair
2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Amy Unruh
3574999fa3 Use GCR images from 'google-samples' project; allow switch on whether dns service is
supported, or to use env vars to get service host info.

Test change to reflect php filename change.
2015-09-03 19:14:24 -07:00
Abhi Shah
380d7d9591 Merge pull request #13564 from a-robinson/beta
Switch from `gcloud beta container` to just `gcloud container`.
2015-09-03 13:09:25 -07:00
k8s-merge-robot
5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
Alex Robinson
edf692622c Switch from gcloud beta container to just gcloud container. 2015-09-03 18:19:25 +00:00
Abhi Shah
473c51593a Merge pull request #13502 from jszczepkowski/e2e-clustersize
e2e test function waitForClusterSize waits for not-ready nodes to go out.
2015-09-03 11:15:54 -07:00
Ewa Socala
4f282efb11 Added autoscaling utils for dynamic consumption of CPU 2015-09-03 09:15:12 +02:00
Brendan Burns
2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -07:00
Brendan Burns
74ef517097 Merge pull request #6649 from rootfs/wip-cephfs
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
Marcin Wielgus
3e9932557d Merge pull request #13052 from pmorie/podip-fix
Fix race condition for consuming podIP via downward API
2015-09-02 16:04:01 +02:00
Wojciech Tyczynski
4d702d2fd5 Fix scalability test suite 2015-09-02 11:53:37 +02:00
Jerzy Szczepkowski
1d450ad3d1 Fixed e2e test waitForClusterSize function to wait for not-ready nodes to go out.
Fixed e2e test waitForClusterSize function to wait for not-ready nodes to go out. Fixes #13440.
2015-09-02 10:55:59 +02:00
k8s-merge-robot
0a062c5b24 Merge pull request #11942 from ironcladlou/rolling-update-availability
Auto commit by PR queue bot
2015-09-01 16:51:13 -07:00
Salvatore Dario Minonne
f4dc0653aa adding downward api volume plugin 2015-09-01 22:23:03 +02:00
Derek Carr
a7e47cada2 Merge pull request #12963 from smarterclayton/enable_graceful
Enable graceful deletion of pods (7/7)
2015-09-01 15:07:29 -04:00
Huamin Chen
fe559f2726 implement Ceph FS volume plugin and add to e2e volume test
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Dan Mace
da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
Paul Morie
4ff66bd70a Fix race exposing pod IP via downward API 2015-08-31 19:18:58 -04:00
Wojciech Tyczynski
e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
Jerzy Szczepkowski
86fb79da05 Merge pull request #13314 from yujuhong/supervisor_log
e2e: collect supervisord.log
2015-08-31 09:19:03 +02:00
Clayton Coleman
e5600f7a84 Dump more pod status when an e2e test fails 2015-08-30 18:25:54 -04:00
Clayton Coleman
f9590a33fd Enable graceful deletion by enabling pods 2015-08-30 18:25:53 -04:00
Quinton Hoole
97ddc9781c Create fewer pods in Scheduler Predicates e2e test to speed things up. 2015-08-28 11:07:22 -07:00
Yu-Ju Hong
be179ffc41 e2e: collect supervisord.log
monit has been replaced with supervisord. Collect its log instead.
2015-08-28 10:47:09 -07:00
Jan Safranek
bcdf89a909 Rebase the gluster image to CentOS.
Using the same base for NFS and Gluster images should reduce the download size.
Also, CentOS image is ~30MB smaller than Ubuntu 14.04.
2015-08-28 12:26:01 +02:00
Wojciech Tyczynski
9da41aeab8 Merge pull request #10476 from jsafrane/devel/fedora-nfs-images
Configure lower NFS grace period.
2015-08-28 09:57:44 +02:00
Yu-Ju Hong
3221663a50 e2e: skip restart count test 2015-08-27 10:10:40 -07:00
Jan Safranek
49921ada74 Configure lower NFS grace period.
From RFC 3530:
  During the grace period, the server must reject READ and WRITE operations
  and non-reclaim locking requests (i.e., other LOCK and OPEN operations)
  with an error of NFS4ERR_GRACE.

That basically means that all open() calls from clients are blocked until the
grace period is over (90 seconds by default).

We want the grace period as low as possible to speed up the tests. '10'
seconds were tested on Fedora 21 and Ubuntu 15.04 as the hosts.

The test image is rebased to Fedora in order to get 'rpc.nfsd -G <n>' option,
Ubuntu does not support it.
2015-08-27 17:50:05 +02:00
Yu-Ju Hong
c7afae75f5 Merge pull request #13103 from yujuhong/restart_count
Kubelet: fix container restart counts
2015-08-26 15:13:10 -07:00
Max Forbes
8ca0654f94 Pass mbforbes TODOs to others. 2015-08-26 10:05:34 -07:00
Piotr Szczesniak
99b9de9d76 Started running Autoscaling e2e test on dedicated Jenkins job 2015-08-26 12:12:51 +02:00
Yu-Ju Hong
49883a04d6 Merge pull request #13140 from socaa/post-request-resource-consumer
Changed Resource Consumer for correct parsing POST requests
2015-08-25 10:07:42 -07:00
Ewa Socala
c68508f8cf Changed Resource Consumer for correct parsing POST requests 2015-08-25 16:29:29 +02:00
Tim Hockin
f5a9281a26 Actually hold NodePorts open in kube-proxy 2015-08-24 16:32:44 -07:00
Yu-Ju Hong
fb3c8c5bcc e2e: add a test to ensure restart count increments monotonically 2015-08-24 12:50:15 -07:00
Zach Loafman
af83c8b4ac Merge pull request #13039 from smarterclayton/lengthen_timeout
Lengthen e2e kubectl timeout
2015-08-21 16:07:11 -07:00
Zach Loafman
0a8291505a Merge pull request #9234 from ZJU-SEL/fix-e2e-test-hostdir
fix e2e hostdir test
2015-08-21 15:51:42 -07:00
Clayton Coleman
cc95dc586e Lengthen e2e kubectl timeout
30s on guestbook-go being pulled from the docker hub is tight -
occasionally lag in the DockerHub can cause kubectl expose it should
create services for rc to flake.
2015-08-21 12:54:36 -04:00
Jerzy Szczepkowski
95d34a1343 Merge pull request #13016 from gmarek/master
Update constants in monitor_resources.go
2015-08-21 10:31:11 +02:00
Jerzy Szczepkowski
958191f72a Merge pull request #11791 from mbforbes/restartLogging
Improve logging and retries for a gcloud command
2015-08-21 10:29:36 +02:00
gmarek
b0acb6adee Update constants in monitor_resources.go 2015-08-21 09:28:48 +02:00
k8s-merge-robot
1a18588a60 Merge pull request #12960 from smarterclayton/network_tester
Auto commit by PR queue bot
2015-08-20 22:44:30 -07:00
k8s-merge-robot
44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali
5ec3c78190 Merge pull request #8366 from justinsb/idempotent_loadbalancer
Make LoadBalancer creation more self-healing; don't delete on AWS
2015-08-20 14:30:55 -07:00
Saad Ali
22e49036f5 Merge pull request #12947 from mesosphere/guestbook-e2e-test
Un-skip guestbook application e2e test
2015-08-20 11:10:35 -07:00
Zach Loafman
95a60d6085 Merge pull request #12926 from smarterclayton/cleanup_graceful
Cleanup more extensively in e2e (0/7)
2015-08-20 10:25:15 -07:00
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
f6b20008b3 Merge pull request #12961 from smarterclayton/prepare_for_graceful
Update tests to prepare for graceful deletion (3/7)
2015-08-20 10:04:32 +02:00
Wojciech Tyczynski
606cc1be39 Merge pull request #12917 from mesosphere/fix-nodeport
Declare e2e NodePort test container port
2015-08-20 08:28:07 +02:00
Clayton Coleman
9267f829eb Update tests to prepare for graceful deletion
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Clayton Coleman
9ee7b76bba Allow testing graceful shutdown via network-tester 2015-08-19 22:06:37 -04:00
Max Forbes
f71597ef6e Use retryCmd(...) to improve logging and add retries to gcloud commands 2015-08-19 18:15:49 -07:00
He Simei
faeb45d69f fix host dir, to test volume r/w with different containers within a pod
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-08-20 08:55:19 +08:00
Zach Loafman
41e6c2c9e0 Merge pull request #12935 from pmorie/fix-mounttest-user
Fix FROM clause in mount-test-user image
2015-08-19 16:06:01 -07:00
Dr. Stefan Schimanski
3b24ac55d0 Un-skip guestbook application e2e test
The comment said that the guestbook needs LoadBalancer support, which is not
true. The test had been skipped for everything but aws, gke and gce for that
reason.
2015-08-19 23:58:22 +02:00
Saad Ali
25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Clayton Coleman
dcdbc646ed RC already being deleted shouldn't fail DeleteRC 2015-08-19 17:43:34 -04:00
Clayton Coleman
611530889f Cleanup more extensively in e2e 2015-08-19 17:43:34 -04:00
Dr. Stefan Schimanski
364a831e14 Declare e2e NodePort test container port
The port 80 of the test webserver was not specified in the container spec. This
patch add the declaration.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/365
2015-08-19 22:43:44 +02:00
Paul Morie
cffacbb5bd Fix FROM clause in mount-test-user image 2015-08-19 13:49:30 -04:00
Piotr Szczesniak
cfc4471f8c Fixed memory consumption in Autoscaling e2e 2015-08-19 16:33:57 +02:00
Piotr Szczesniak
265d3da701 Enabled Autoscaling test that uses mem utilization metric 2015-08-19 15:07:17 +02:00
gmarek
33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
Piotr Szczesniak
c69dff8b69 Merge pull request #12903 from piosz/scheduler-predicates-fix
Added clean up to scheduler-predicates
2015-08-19 12:21:04 +02:00
Piotr Szczesniak
f6a3966abb Added clean up to scheduler-predicates 2015-08-19 11:32:49 +02:00
Piotr Szczesniak
41b8fdcd76 Increased timeout while waiting for namespace deletion
Removed waiting for namespace to be deleted in Density and Load e2e tests
2015-08-19 11:17:59 +02:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Robert Bailey
301bf16792 Merge pull request #12878 from smarterclayton/soak_wait
Soak tests should wait until namespaces are dead before exiting
2015-08-18 15:46:07 -07:00
Clayton Coleman
40e80e1e75 Soak tests should wait until namespaces are dead before exiting 2015-08-18 17:43:49 -04:00
Clayton Coleman
dcad51b90e Deleting a namespace is insufficient to cleanup in e2e
Graceful deletion requires more time to terminate namespaces, and not
waiting for namespaces to delete causes scheduling errors
2015-08-18 17:36:00 -04:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00