Commit Graph

1570 Commits (823242d9a82b6ad0ca4c6ffa24da26fe06a65d6a)

Author SHA1 Message Date
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
Robert Bailey 4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey 4b9ec9a9b2 Merge pull request #12824 from andyzheng0831/test-bug
Fix two bugs in reboot tests
2015-08-18 08:54:25 -07:00
Quinton Hoole 7158f8a5df Merge pull request #11339 from bprashanth/restart_test
Confirms daemons restart and do sane things in an e2e test
2015-08-18 08:42:44 -07:00
Clayton Coleman 266e6226e5 Move slow-* items to test/images/network-tester 2015-08-18 09:08:46 -04:00
Clayton Coleman 89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Piotr Szczesniak e7eccea4ac Increased waiting for cluster size timeout for Autoscaling e2e 2015-08-18 10:11:13 +02:00
Piotr Szczesniak db6c34288e Migrated Autoscaling e2e test to new gcloud commands 2015-08-18 06:51:17 +02:00
Prashanth Balasubramanian 83f1212e0b Confirms daemons restart and do sane things in an e2e test 2015-08-17 20:39:57 -07:00
Andy Zheng a1ba269ab3 Fix two bugs in reboot tests
First, "ifconfig eth0 down/up" on Ubuntu and Debian breaks
connection to the instance, thus tests after this one all fail.
Second, replacing appending iptable rules with inserting them on
the top of iptables, otherwise the tests may fail if iptables
are not empty.
2015-08-17 13:54:12 -07:00
Piotr Szczesniak 72c27d5782 Added more logs to Autoscaling e2e test 2015-08-17 16:12:32 +02:00
Justin Santa Barbara fde0a8884f e2e: Test load-balanced service endpoint preserved
Previously we weren't preserving the service endpoint on a load-balanced
service, at least on AWS.  The test had to test reality, not
aspirations!

Now we should have fixed this, so we can revert the e2e test to check
that the service endpoint is indeed preserved.

Fixes #11002
2015-08-17 08:58:46 -04:00
Piotr Szczesniak 73815f5629 Actually enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 12:30:20 +02:00
Marek Grabowski d310eeaca9 Merge pull request #12783 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for Jenkins flaky job
2015-08-17 11:23:28 +02:00
Piotr Szczesniak b6f1c9d989 Enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 10:54:33 +02:00
Marek Grabowski c0480e9174 Merge pull request #12707 from mikedanese/move-test-contrib
move contrib/for-tests to test/images
2015-08-17 10:46:18 +02:00
gmarek 781a9b5325 Update constants in monitor_resources test 2015-08-17 09:53:52 +02:00
Mike Danese fa40ced8f8 move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
Piotr Szczesniak 5b676b7334 Disabled Autoscaling e2e test 2015-08-14 16:27:54 +02:00
Jerzy Szczepkowski 36f94fabbe Merge pull request #12719 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for cpu utilization
2015-08-14 13:40:41 +02:00
Piotr Szczesniak fb44d5e045 Enabled Autoscaling e2e test for cpu utilization 2015-08-14 11:50:19 +02:00
gmarek 941ddc90b1 Fix SchedulerPredicates test after event reason rename 2015-08-14 11:20:37 +02:00
gmarek 5c7294ce52 Tweak resource constraintes for MonitorResources test 2015-08-13 13:56:10 +02:00
Wojciech Tyczynski 77f431649b Merge pull request #12462 from gmarek/cadvisor2
Add e2e test monitoring current container resource usage with updated constants.
2015-08-13 10:19:19 +02:00
CJ Cullen 7a87438e67 Merge pull request #12602 from deads2k/expose-methods-from-e2e
expose e2e methods for downstream use
2015-08-12 16:06:23 -07:00
CJ Cullen 59da05efdf Merge pull request #12405 from uluyol/kubectlexp
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
deads2k 2952af0d59 expose e2e methods for downstream use 2015-08-12 15:38:51 -04:00
CJ Cullen b8dc963512 Merge pull request #9210 from BenTheElder/iptables_proxy
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
BenTheElder ae569e20b5 Partially Implement #3760 2015-08-12 02:39:15 -04:00
Bryan Stenson 9541414742 create cloudprovider "providers" package
move all providers into new package
    update all references to old package path
2015-08-11 22:36:51 -07:00
Muhammed Uluyol fab367230f Add experimental API support to kubectl 2015-08-11 16:49:55 -07:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
gmarek bc8565d55e Add e2e test monitoring current container resource usage with updated
constants.

This reverts commit 1f7ea4f08e.
2015-08-11 09:16:14 +02:00
markturansky 8e0d391b1e Refactored persistent volume controllers to new packaging structure 2015-08-10 23:18:48 -04:00
Alex Robinson 9036f2cf82 Merge pull request #12408 from smarterclayton/improvements_to_test
e2e test cases should clean up more effectively
2015-08-10 18:15:04 -07:00
Clayton Coleman e623d33343 e2e test cases should clean up more effectively
Graceful deletion exposes weakness in cleanup paths, add
common hooks for waiting for namespcae deletion to complete,
use direct delection where necessary, and add some debug output
for finding cleanup flags (namespaces that aren't fully deleted)
2015-08-10 19:02:39 -04:00
Yu-Ju Hong 13aec6421a Check error before accessing returned value in e2e/kubectl.go
This avoids test panics.
2015-08-10 15:02:17 -07:00
Alex Robinson 9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson 1ad9015566 Merge pull request #12410 from mesosphere/non-unique-endpoint-ip-no-port-names
Fix e2e endpoints tests on Mesos
2015-08-10 09:49:55 -07:00
Marek Grabowski 5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski f187588072 Merge pull request #11054 from jsafrane/devel/iscsi-test
Add e2e RBD and iSCSI volume tests.
2015-08-10 16:32:13 +02:00
Marek Grabowski 65bff3d187 Merge pull request #12252 from alex-mohr/stamp
Add timestamps to test info logs
2015-08-10 15:01:34 +02:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh 1f7ea4f08e Revert "Add e2e test monitoring current container resource usage" 2015-08-07 22:40:15 -07:00
Satnam Singh 8c4d2737f2 Merge pull request #11374 from gmarek/cadvisor
Add e2e test monitoring current container resource usage
2015-08-07 15:24:54 -07:00
Brendan Burns e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
Dr. Stefan Schimanski 4786705f8e Move TODO from source into an github issue 2015-08-07 22:08:50 +02:00
Dr. Stefan Schimanski f04f31f799 Use endpoint annotation to recover container ports in e2e tests on Mesos 2015-08-07 20:13:19 +02:00
Dr. Stefan Schimanski 8848e26154 Validate endpoints in e2e tests by pod UID and port
Before this patch endpoints were validated by container IP and port.
Depending on the endpoint controller logic neither of the two must match for a
valid endpoint (e.g. in a Mesos setup).

This patch checks that the endpoint targetRef points to the right pod by UID,
instead of comparing IPs.

A later patch will make sure the
compared port is the actual container port, not the host port.

/xref mesosphere/kubernetes-mesos#365
2015-08-07 20:13:18 +02:00
Satnam Singh 213e7a8ab6 Merge pull request #12372 from a-robinson/ifup
Replace usage of ifup and ifdown in the reboot test with ifconfig
2015-08-07 10:14:11 -07:00
Jan Safranek 9c7a1c7f96 Add Ceph RBD e2e test.
The test assumes that all nodes have Ceph client utilities installed.
Ceph RBD container is hand crafted to be really minimal. It creates a new RBD
on startup, which can take up to several minutes on busy machines.
2015-08-07 13:43:03 +02:00
Jan Safranek adba474ffa Add e2e iSCSI volume test.
The test container needs to run with --privileged, therefore it's disabled by
default.
2015-08-07 13:43:03 +02:00
feihujiang 90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
gmarek 1c22fd39ff Add e2e test monitoring current container resource usage.wq 2015-08-07 10:27:00 +02:00
Jan Safranek ebcc558734 Revert "Use a service between e2e volume tests clients and servers."
iSCSI and RBD volumes don't work as Kubernetes services - these protocols
are broken by S-NAT created by kube-proxy - at least iSCSI exhanges real
IP address of the iSCSI target as part of the protocol.

This reverts commit 118004c166.
2015-08-07 10:24:29 +02:00
Brendan Burns 5be9ff70af Add a negative test for HTTP health checks 2015-08-06 21:22:31 -07:00
Alex Robinson a2fea14542 Fix typo in an e2e test utility log message. 2015-08-07 00:32:05 +00:00
Alex Robinson e650e098f4 Replace usage of ifup and ifdown in the reboot test with ifconfig. 2015-08-07 00:29:36 +00:00
Max Forbes acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Stef Walter cd4f0b43ef test: End to end test for kubectl proxy --unix-socket 2015-08-06 11:56:48 +02:00
Mike Danese fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Mike Danese 17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Dawn Chen 13258e8f8f Merge pull request #12091 from mwielgus/spark-flaky
Fix spark-driver in examples/spark
2015-08-05 12:03:34 -07:00
Marcin Wielgus 41bc20d1e0 Fix spark-driver in examples/spark 2015-08-05 15:45:43 +02:00
Alex Mohr ea0c35b72b Add timestamps to test info logs.
This should improve forensics on failed tests based with only the output to make the timing recoverable, with the hope that flaky tests will be easier to debug as a result.

Before:
INFO: foo

After:
Aug  4 17:42:14.876: INFO: foo
2015-08-04 23:28:12 -07:00
Alex Mohr bcb6e1e107 Fix e2e scheduler_predicates.go to have 10 minute timeout instead of 2
minutes.

On an n1-standard-1 with only this test running, 2 minutes was enough
to create 189 pods out of the 300 desired.  On slower VMs or with more
activity on the master (such as with parallel tests), 2 minutes is
nowhere near enough.  This is a functional test, not a performance
test.
2015-08-04 22:59:30 -07:00
Alex Mohr 1b6089a783 Merge pull request #11196 from yujuhong/resource_monitor
Auto commit by PR queue bot
2015-08-04 18:06:18 -07:00
Alex Mohr 2d81775a2d Merge pull request #11151 from gmarek/max_pods_e2e
Auto commit by PR queue bot
2015-08-04 15:11:13 -07:00
Alex Mohr 366b382901 Merge pull request #10200 from caesarxuchao/resthandler-validate-version
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr 1311b9dce1 Merge pull request #11886 from gmarek/ratelimit
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
Alex Mohr 5068c9ff32 Merge pull request #8905 from justinsb/e2e_log_events_on_service_mutation
Auto commit by PR queue bot
2015-08-04 10:58:25 -07:00
Alex Mohr 6d16c18d6f Merge pull request #12078 from gmarek/move_nodecontroller
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Chao Xu 664d20c572 Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Alex Mohr d8b01b0a19 Merge pull request #12114 from caesarxuchao/update-pod-error-message
improve the error message of update/patch pod
2015-08-03 15:15:04 -07:00
Brendan Burns 2e68002f31 Merge pull request #11692 from wojtek-t/new_api_instance_groups
Auto commit by PR queue bot
2015-08-03 11:07:36 -07:00
gmarek d27ad5b714 Controller codebase refactoring 2015-08-03 17:06:25 +02:00
gmarek 4cc0a2f117 Allow changing Schedulers RateLimitter setting during startup. 2015-08-03 15:27:19 +02:00
Wojciech Tyczynski 2d95cd454c Swich to new gcloud API for GCE MIGs 2015-08-03 09:56:25 +02:00
Jerzy Szczepkowski 972dcfaa4f Fixed flakiness of resize nodes test.
Fixed flakiness of resize nodes test by increasing timeout for waiting for change of size of managed instance group with nodes. Fixes #11442.
2015-08-03 09:51:17 +02:00
Chao Xu 18d32751fd improve the error message of update pod 2015-08-02 13:41:53 -07:00
Mike Danese cf4cb1a6a3 Merge pull request #10474 from kargakis/scale-multiple-controllers
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
kargakis 0e796ca09a Enable scaling multiple controllers 2015-07-31 10:24:59 +02:00
Muhammed Uluyol 58a875ac2c Add (stopgap) support for an experimental API prefix. 2015-07-30 18:14:29 -07:00
Mike Danese 853ea5bab2 Merge pull request #11880 from mwielgus/rethinkdb-flaky
Add retry logic to http service request in test/e2e/examples.go
2015-07-30 17:37:06 -07:00
Mike Danese 51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese 452bdcae2d Merge pull request #11895 from derekwaynecarr/vagrant_confornamce_tickbox
Vagrant passes conformance tests at HEAD
2015-07-30 10:35:34 -07:00
Brendan Burns 1d9a0623f2 Merge pull request #11047 from gurvindersingh/master
modified spark example to use kubectl exec to interact with cluster a…
2015-07-30 10:01:10 -07:00
Mike Danese 0ae48c449e Merge pull request #11927 from wojtek-t/remove_shell_services
Remove shell services test
2015-07-30 09:56:38 -07:00
Mike Danese 71536711a4 Merge pull request #11811 from gmarek/framework
Move addon_update e2e test to framework
2015-07-30 08:23:16 -07:00
Wojciech Tyczynski 3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Wojciech Tyczynski 2c5c1931e5 Revert "Implement 'Nodes Network' test for GKE" 2015-07-30 15:29:01 +02:00
Marcin Wielgus aa7d009b96 Add retry logic to http service request in test/e2e/examples.go 2015-07-30 14:36:35 +02:00
Wojciech Tyczynski 99d6b0e9f4 Rename storage interfaces 2015-07-30 10:34:57 +02:00
Gurvinder Singh e1d76d5f19 added test for spark driver too 2015-07-30 09:47:56 +02:00
gmarek 01c3c0f4e1 Move addon_update e2e test to framework 2015-07-30 09:42:13 +02:00
Wojciech Tyczynski d17985f1ad Move StorageInterface to pkg/storage. 2015-07-30 09:32:04 +02:00
Mike Danese 59a1dd4267 Merge pull request #11789 from mbforbes/nodesNetwork
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Paul Morie 5394aa979f Make emptyDir volumes work for non-root UIDs 2015-07-29 18:36:51 -04:00
Brendan Burns 72db883b90 Merge pull request #11050 from marekbiskup/dns-example-e2e
e2e test for dns example
2015-07-29 13:10:26 -07:00
Mike Danese bed0e1e1b0 Merge pull request #11915 from AnanyaKumar/controller-refactor
Refactor package controller
2015-07-29 11:20:14 -07:00
Mike Danese e864569f80 Merge pull request #11003 from jayunit100/prom-push
[contrib + e2e] prometheus: add pushgateway functionality to prometheus allinone deployment along w/ runRC Gauge reporting.
2015-07-29 11:12:02 -07:00
Mike Danese b1730b35e4 Merge pull request #11785 from timstclair/tests
Use prometheus extraction library for metric parsing in e2e tests
2015-07-29 10:53:19 -07:00
Ananya Kumar 47dd0bc6f9 Refactor package controller 2015-07-29 09:54:35 -07:00
derekwaynecarr 01ec50deb4 Vagrant passes conformance tests at HEAD 2015-07-29 10:16:39 -04:00
Wojciech Tyczynski 7ce51db40d Rename StorageInterface methods 2015-07-29 08:02:13 +02:00
Brendan Burns 54eb143342 Merge pull request #10745 from justinsb/e2e_fix_resize_nodes
e2e fix resize nodes
2015-07-28 15:57:10 -07:00
saadali 09c137e99b Fix flaky PD test by adding wait for detach 2015-07-28 11:25:46 -07:00
Justin Santa Barbara 62bb38af21 e2e: Improve logging while waiting for node readiness
Per suggestions by mbforbes
2015-07-28 12:41:40 -04:00
Wojciech Tyczynski b69ef7b5ca Remove shell services test 2015-07-28 17:14:18 +02:00
jayunit100 739e79dd9f Modularized implementation of prompush json with e2e running pending push gateway gauges. 2015-07-28 09:29:57 -04:00
Marek Biskup 860822431b e2e test for dns example 2015-07-28 08:34:38 +02:00