Commit Graph

1788 Commits (f371b3d891167ed7e80853c9ead07f9bccbb9e5d)

Author SHA1 Message Date
k8s-merge-robot 0129dadc66 Merge pull request #15253 from brendandburns/flakes4
Auto commit by PR queue bot
2015-10-08 05:09:15 -07:00
Piotr Szczesniak 952a058357 Merge pull request #15153 from wojtek-t/common_resync_period
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Marek Grabowski bb43d07d28 Merge pull request #15231 from gmarek/fix-kubemark
Create a separate etcd instance for events in Kubemark
2015-10-08 11:22:52 +02:00
Wojciech Tyczynski df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
Piotr Szczesniak 7324cd68d2 Merge pull request #15218 from jszczepkowski/hpa-e2e-fix
Increased memory limit for horizontal pod autoscaler e2e test.
2015-10-08 07:34:17 +02:00
jackgr 703a3e19aa Add the kubectl apply command. 2015-10-07 17:14:51 -07:00
Prashanth Balasubramanian 941963d953 Ingress E2E 2015-10-07 14:33:19 -07:00
Brendan Burns 4cd0997dbf Add some more debugging info so we can determine why this test is flaking 2015-10-07 13:08:47 -07:00
Brendan Burns c9c6c52ab4 improve reporting of which resources and which binaries went over limit 2015-10-07 11:59:24 -07:00
gmarek 28d79d83c1 Create a separate etcd instance for events in Kubemark 2015-10-07 17:15:55 +02:00
Filip Grzadkowski 6429c39a9e Merge pull request #15220 from kubernetes/revert-14876-proxy_https
Revert "Allow specifying scheme when proxying"
2015-10-07 13:04:24 +02:00
Marek Grabowski 1ea59513cb Merge pull request #15216 from gmarek/predicates
Change logging in scheduler_predicates e2e test
2015-10-07 13:03:56 +02:00
Filip Grzadkowski c0532a432a Revert "Allow specifying scheme when proxying" 2015-10-07 13:02:35 +02:00
Jerzy Szczepkowski 31bd5fda72 Increased memory limit for horizontal pod autoscaler e2e test.
Increased memory limit for horizontal pod autoscaler e2e test. Fixes #14667.
2015-10-07 12:16:35 +02:00
Piotr Szczesniak a8bd23542f Fixed flaky cluster size autoscaling e2e. 2015-10-07 11:22:28 +02:00
gmarek 3b11feda97 Change logging in scheduler_predicates e2e test 2015-10-07 11:10:48 +02:00
k8s-merge-robot 61b3fecb1a Merge pull request #14876 from liggitt/proxy_https
Auto commit by PR queue bot
2015-10-06 22:29:38 -07:00
Daniel Smith 377e5c533b add scheduler integration benchmark 2015-10-06 18:15:21 -07:00
Janet Kuo f4cb23975b Merge pull request #15044 from nikhiljindal/deploymentController
Enabling deployments on kubernernetes-upgrade-gce test suite
2015-10-06 18:11:00 -07:00
Abhi Shah 60b1abdaa5 Merge pull request #15178 from ArtfulCoder/stablekubeproxytest
increased number of tries to reduce test flakiness
2015-10-06 16:40:31 -07:00
Matt Moore eeb4eeb17c Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.

The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.

NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2.  Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
nikhiljindal c062afc6de Enabling deployments on kubernernetes-upgrade-gce test suite 2015-10-06 14:50:25 -07:00
k8s-merge-robot 82a1b0efda Merge pull request #15152 from mwielgus/exaples_err_check
Auto commit by PR queue bot
2015-10-06 14:15:02 -07:00
Abhishek Shah b49ee4385e increased number of tries to reduce test flakiness 2015-10-06 13:21:44 -07:00
Tim St. Clair 8d49c8e29a Update prometheus libraries to new versions. 2015-10-06 12:56:14 -07:00
Brendan Burns 7ba48583fa Merge pull request #15137 from brendandburns/flakes3
Add an environment variable override for AWS ssh keys
2015-10-06 10:43:45 -07:00
jayunit100 450c3345a3 K8PetStore E2E test, rebased and cleaned (10/5, 10/6) 2015-10-06 12:12:11 -04:00
Marek Grabowski 5ad2483784 Merge pull request #15145 from piosz/initial-e2e
Implemented e2e test for Initial Resources
2015-10-06 14:07:34 +02:00
Marcin Wielgus 555cc5e579 Error check for waitForEndoint in e2e examples tests 2015-10-06 13:16:20 +02:00
Piotr Szczesniak 8262774a76 Implemented e2e test for Initial Resources 2015-10-06 10:24:35 +02:00
gmarek 42c6d716a5 Check for number of scheduled, not running nodes in scheduler_predicates test 2015-10-06 10:24:12 +02:00
gmarek 4dfd28086f Wait for all HollowNodes to become ready in start-kubemark.sh 2015-10-06 09:20:53 +02:00
k8s-merge-robot 5ef529fa10 Merge pull request #15022 from quinton-hoole/2015-09-29-namespace-is-active-error
Auto commit by PR queue bot
2015-10-05 22:55:37 -07:00
Mike Danese 05ef8ed219 Merge pull request #15104 from mikedanese/ds-e2e
break up daemonset test into two small tests to isolate flakiness
2015-10-05 22:32:59 -07:00
Brendan Burns f7105ea30f Add an environment variable override for AWS ssh keys 2015-10-05 21:14:06 -07:00
Jordan Liggitt b9ba3bd7c2 Allow specifying scheme when proxying 2015-10-05 22:12:10 -04:00
Alex Robinson 68a28945fa Merge pull request #15105 from erictune/job-e2e-wait-more
Wait longer for job to complete
2015-10-05 17:00:03 -07:00
Alex Robinson 32b9d8aad0 Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese fe820fc4df break up daemonset test into two tests 2015-10-05 15:54:15 -07:00
Alex Robinson 4856c7c033 Merge pull request #14957 from thockin/services-e2e
Services e2e cleanup
2015-10-05 14:56:19 -07:00
Alex Robinson dfbbec03ed Merge pull request #14965 from bprashanth/podtracker
Record pod history in daemon restart e2e
2015-10-05 14:51:46 -07:00
Alex Robinson d8120f5425 Merge pull request #14221 from timstclair/readiness-workers
Refactor readiness probing
2015-10-05 13:26:54 -07:00
Steve Milner e5d64ea19b e2e: kubectl verification for HTTP proxying using netexec and goproxy. 2015-10-05 16:05:36 -04:00
Steve Milner e5b85194aa netexec: Multiple fixes and enhancements to netexec
* Added upload functionality
* More logging
* Moved to test/images
* Image file fixes
2015-10-05 16:05:36 -04:00
Andy Goldstein 9f1bd07322 Add goproxy test image 2015-10-05 16:05:34 -04:00
Eric Tune 6ff6c7c731 Wait longer for job to complete
2 timeouts in last 30 e2e runs.
Tripling timeout.
Should normally not that that long.
Uses polling so will terminate early in normal case.
2015-10-05 12:55:24 -07:00
Tim Hockin ada74893bf Reduce timeouts in e2e tests by polling before sleeping 2015-10-05 12:49:46 -07:00
Tim Hockin 6421ae974d Flatten 3 load-balancer tests into 1 2015-10-05 12:49:46 -07:00
Tim Hockin a51ba71a65 Make Service e2e run a bit faster 2015-10-05 12:49:46 -07:00
Piotr Szczesniak f96a6ef753 Another try to fix flaky autoscaling test. 2015-10-05 21:03:17 +02:00
Alex Robinson 0aa5c16f38 Merge pull request #14646 from mesosphere/sttts-fix-kubeproxy-test
Fix e2e tests for providers without SSH to the nodes
2015-10-05 11:56:09 -07:00
Alex Robinson bcc154d7bd Merge pull request #15037 from quinton-hoole/2015-10-02-port-node-resize-e2e-to-framework
Port Node Resize e2e tests to e2e Framework
2015-10-05 11:19:09 -07:00
Alex Robinson f8c9301658 Merge pull request #15076 from jszczepkowski/hpa-e2e
Improved logging for horizontal pod autoscaler.
2015-10-05 09:57:13 -07:00
Marcin Wielgus 007a70d837 Merge pull request #14984 from mwielgus/spark_fix
Wait for at least 1 endpoint in E2E test for examples
2015-10-05 17:47:24 +02:00
Marcin Wielgus d5c40479f1 Wait for at least 1 endpoint in E2E test for examples 2015-10-05 16:47:52 +02:00
Jerzy Szczepkowski f8b18b0a4c Improved logging for horizontal pod autoscaler.
Improved logging for horizontal pod autoscaler. Disabled redundant e2e test.
2015-10-05 16:26:14 +02:00
Marcin Wielgus 2519ebe644 Disable 2 problematic e2e test for deamon for GKE 2015-10-05 11:55:08 +02:00
Wojciech Tyczynski 0f1cbe37a4 Events in separate etcd 2015-10-05 10:54:24 +02:00
Dr. Stefan Schimanski 5ecc2629b7 Refactor kubeproxy tests to run with and without provider SSH support
All other e2e tests which use SSH are skipped for providers other than gce,
gke and aws. This patch does the same for the kube-proxy test.

If not SSH support is available for the provider, the test will still run,
but use less probes.
2015-10-04 10:58:17 +02:00
Dr. Stefan Schimanski 657db0a2b5 Add missing guards around SSH based e2e tests
All other e2e tests which use SSH are skipped for providers other than gce,
gke and aws. This patch does the same for

- "should release NodePorts on delete" in service.go
- "should test privileged pod" in privileged.go.
2015-10-04 10:58:17 +02:00
Dr. Stefan Schimanski a68e0848dc Factor out providers which support SSH in e2e tests 2015-10-04 10:58:17 +02:00
Brendan Burns 427a924983 Disable jobs tests in GKE 2015-10-02 21:11:04 -07:00
k8s-merge-robot b3348c329c Merge pull request #14560 from piosz/requests-test
Auto commit by PR queue bot
2015-10-02 18:48:25 -07:00
k8s-merge-robot ffacd3bcf2 Merge pull request #14645 from socaa/readme
Auto commit by PR queue bot
2015-10-02 18:48:22 -07:00
k8s-merge-robot c020159f9b Merge pull request #14788 from brendandburns/e2e4
Auto commit by PR queue bot
2015-10-02 17:40:22 -07:00
CJ Cullen 49e204cd1e Merge pull request #14566 from erictune/job-e2e
Job e2e
2015-10-02 16:59:14 -07:00
Quinton Hoole f303ad6fb2 Port Node Resize e2e tests to e2e Framework
Partially addresses #13503, #13574, #13828
2015-10-02 16:30:36 -07:00
Mike Danese fc36ac6c8e Merge pull request #14915 from mikedanese/retry-fast
make update period for Node not a multiple of 5 in DaemonSet e2e to avoid version conflict
2015-10-02 15:58:22 -07:00
Tim St. Clair 52ece0c34e Refactor readiness probing
Each container with a readiness has an individual go-routine which
handles periodic probing for that container. The results are cached, and
written to the status.Manager in the pod sync path.
2015-10-02 15:37:10 -07:00
k8s-merge-robot 2c81a664f2 Merge pull request #14827 from wojtek-t/export_metrics_for_dashboard
Auto commit by PR queue bot
2015-10-02 14:57:44 -07:00
Quinton Hoole d8f821de1a Port e2e/scheduler_predicates.go to e2e Framework.
Partially addresses #13503, #13574, #13828
2015-10-02 14:39:29 -07:00
k8s-merge-robot cd5cb5791e Merge pull request #14837 from liggitt/nettest_tls
Auto commit by PR queue bot
2015-10-02 14:29:59 -07:00
k8s-merge-robot 7007481f00 Merge pull request #14917 from nikhiljindal/deploymentController
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Mike Danese c9574560cc make update period for Node not a multiple of 5 2015-10-02 09:59:30 -07:00
gmarek 22574cfd6d Set E2E_MIN_STARTUP_PODS to 0 for Kubemark runs 2015-10-02 15:10:02 +02:00
gmarek 3137ecbf3b Create a firewall rule for kubemark master allowing connections on port 443 2015-10-02 14:36:31 +02:00
k8s-merge-robot 1bcdd56cf3 Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
k8s-merge-robot 2eae864f26 Merge pull request #14348 from jiangyaoguo/fix-kubeproxy-e2e
Auto commit by PR queue bot
2015-10-02 04:20:01 -07:00
k8s-merge-robot ff85f0ba95 Merge pull request #14698 from yujuhong/gce_only
Auto commit by PR queue bot
2015-10-02 02:53:27 -07:00
Jerzy Szczepkowski 89859ff14c Merge pull request #14914 from fgrzadkowski/reject_drop_fix
Use REJECT instead of DROP when blocking node
2015-10-02 11:22:50 +02:00
Jerzy Szczepkowski c4c5a0f018 Merge pull request #14907 from fgrzadkowski/fix_e2e_cm
Don't check if all test namespaces are deleted
2015-10-02 11:20:30 +02:00
gmarek 1e7cdf95bd Add PROJECT to things added by SSL patch 2015-10-02 11:07:34 +02:00
Wojciech Tyczynski 3ae276cc0b Print latency metrics in too-friendly way. 2015-10-02 11:03:56 +02:00
gmarek bc76b1616f Add SSL to communication in Kubemark 2015-10-02 10:39:24 +02:00
gmarek e58aff001b Stop existing Kubemark cluster before creating new one in Jenkins 2015-10-02 10:32:57 +02:00
gmarek b7954068a3 Add missing PROJECT flag to Kubemark scripts 2015-10-02 09:42:02 +02:00
Prashanth Balasubramanian fc46de5e68 Record pod history in daemon restart e2e 2015-10-01 22:21:40 -07:00
Jordan Liggitt 1d1d7bb145 Add https to porter test image 2015-10-01 22:55:58 -04:00
nikhiljindal c6deb442f9 Adding events to deployment 2015-10-01 16:38:08 -07:00
k8s-merge-robot f579f8edc3 Merge pull request #14790 from yujuhong/restart_count
Auto commit by PR queue bot
2015-10-01 11:34:32 -07:00
Yu-Ju Hong 15cdc45b09 Split kubelet e2e resource usage tracking tests
Some tests in this test suite expects --max-pods (i.e. the maximum pod capacity
on kubelet) to be greater than default, which applies only to the GCE test
environment. Split the tests into two sets so that we can better categorize
the tests in the jenkins setup, without making the test itself aware of the
environment.
2015-10-01 11:09:06 -07:00
Yu-Ju Hong a512111c9d e2e: improve sleep time in kubelet resource usage tracking test 2015-10-01 11:08:38 -07:00
Filip Grzadkowski 330f12b660 Use REJECT instead of DROP when blocking node 2015-10-01 18:10:35 +02:00
Filip Grzadkowski 86a95c27a9 Don't check if all test namespaces are deleted 2015-10-01 16:42:45 +02:00
Wojciech Tyczynski cff6dcedd7 Merge pull request #14903 from gmarek/fix-jenkins
Make kubemark work on Jenkins
2015-10-01 16:00:40 +02:00
gmarek 9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +02:00
k8s-merge-robot 7178921a96 Merge pull request #14375 from deads2k/remove-unprefixed-access
Auto commit by PR queue bot
2015-10-01 04:35:59 -07:00
Jerzy Szczepkowski 64f0f70c94 Fixed flakiness of e2e tests for horizontal pod autoscaler.
Fixed flakiness of e2e tests for horizontal pod autoscaler. Enabled more tests.
2015-10-01 10:30:54 +02:00
Ewa Socala ce5d7d43db added README file to Resource Consumer 2015-10-01 10:28:48 +02:00
Brendan Burns 95956d76ea Merge pull request #14839 from caesarxuchao/14084-fix
Ref #14084, Print output when error occurs in e2e test "in Services should be able to create a functioning external load balancer with user-provided load balancer ip"
2015-09-30 17:11:59 -07:00
Andy Goldstein ed021fed4c Port forwarding fixes
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.

Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.

Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
Andy Goldstein 7f900daa3e Add port-forward-tester image 2015-09-30 20:03:49 -04:00
Chao Xu 998ac8a137 add more prints 2015-09-30 11:29:49 -07:00
Brendan Burns 08bd00d14b Merge pull request #14792 from saad-ali/fixIssue14787PdCleanup
E2E PD Test cleanup should be more robust on failure to prevent leaking PDs
2015-09-30 11:23:58 -07:00
Fabio Yeon 23759c8b29 Merge pull request #14784 from brendandburns/e2e3
Extend the timeout on initial validation of reboot tests.
2015-09-30 07:36:27 -07:00
deads2k 8db054651c plumb APIGroup to authorization attributes and test 2015-09-30 09:45:10 -04:00
jiangyaoguo 020f3b164c fix kubeproxy e2e 2015-09-30 20:47:35 +08:00
Piotr Szczesniak 1a47993f28 Merge pull request #14509 from mwielgus/spark-fix
E2E test - check pod.Status.Phase when greping through pod logs
2015-09-30 13:19:14 +02:00
Marek Grabowski 4c17ef673a Merge pull request #14719 from gmarek/resource_usage
Increase allowed memory usage for KubeProxy
2015-09-30 09:45:20 +02:00
Marek Grabowski 1cf2a3fa87 Merge pull request #14810 from gmarek/playground
Small fixes to kubemark scripts
2015-09-30 09:40:05 +02:00
David Oppenheimer f86b119242 Merge pull request #14550 from mesosphere/sttts-fix-daemonset-tests
Fix bugs in daemonset controller and e2e tests
2015-09-30 00:37:46 -07:00
gmarek 7c6052187c Small fixes to kubemark scripts 2015-09-30 09:26:18 +02:00
Marek Grabowski 7fa09abecb Merge pull request #14776 from brendandburns/fixer2
Fix some issues with the kubemark script
2015-09-30 08:58:15 +02:00
saadali b1dda29acc E2E PD Test cleanup on failure should be more robust to prevent leaking PDs. 2015-09-29 18:33:30 -07:00
Eric Tune 3c43c8dfa0 Improve jobs e2e
Remove unnecessary yaml file.

Define 4 specific pod behaviors.
(sleeping for short periods is going to be flaky during automated
testing.  Also, sleep -1 still exits 0)

Don't wait for a certain number of active pods in tests
where the pods terminate after a finite time, since this is racy.

Changed some tests to use pods that run forever, and not wait
for completion.

Added tests with local restarts.

Convert the DeleteOptions to the correct api group.
2015-09-29 17:31:57 -07:00
Brendan Burns a26afdad30 Fix some issues with the kubemark script 2015-09-29 17:27:19 -07:00
Yu-Ju Hong 5177e82d3a e2e: restore the test for monotonically increasing restart count
The test was disabled because sometimes restart count could not reach the
target before timeout. This change lowers the target restart count, increases
the timeout threshold to 5 minutes, and adds the test to the SLOW suite.
Running the test in a local cluster takes ~1m40s to complete.
2015-09-29 17:22:12 -07:00
Brendan Burns 09337d1d1e Increase the pod ready timeout. We've seen problems in the reboot tests. 2015-09-29 17:10:46 -07:00
Brendan Burns edd46543bf Add --quiet to a bunch of gcloud usages to get rid of interactive prompts. 2015-09-29 16:56:36 -07:00
k8s-merge-robot c317020922 Merge pull request #14684 from mikedanese/fix-0
Auto commit by PR queue bot
2015-09-29 14:25:09 -07:00
Piotr Szczesniak 3a18af8ea8 Fixed flakiness in autoscaling e2e with no scheduling pods 2015-09-29 15:52:30 +02:00
Filip Grzadkowski 0f8adc5d53 Merge pull request #14699 from yujuhong/pods_ready
e2e: RunRC wait until all pods created by RC are ready
2015-09-29 13:54:52 +02:00
gmarek 3f2e697639 Increase allowed memory usage for KubeProxy 2015-09-29 10:47:55 +02:00
gmarek 7cfb3479e0 Small fixes to Kubemark scripts 2015-09-29 10:24:46 +02:00
k8s-merge-robot c807bea089 Merge pull request #13857 from mesosphere/node-labels
Auto commit by PR queue bot
2015-09-28 22:10:51 -07:00
k8s-merge-robot 4645ad3cb0 Merge pull request #14594 from nikhiljindal/deploymentE2e
Auto commit by PR queue bot
2015-09-28 20:22:14 -07:00
k8s-merge-robot 095fec84e9 Merge pull request #14603 from yujuhong/e2e_slow
Auto commit by PR queue bot
2015-09-28 18:38:03 -07:00
Yu-Ju Hong 1307f081f2 e2e: RunRC wait until all pods created by RC are ready
kubelet sends up status updates to flip the ready condition of a pod after the
pod is already in the running state. RunRC should wait until the pod condition
is ready to make sure there is no pending status update which may affect the
follow-up performance test.
2015-09-28 17:35:01 -07:00
Mike Danese ea46e3dad7 reorder arguments on gce upgrade e2e tests gcloud call 2015-09-28 15:34:33 -07:00
Maciej Szulik 4bfa389c18 Jobs e2e tests 2015-09-28 11:44:11 -07:00
Dr. Stefan Schimanski 2d8b0049e1 Improve daemonset e2e test
- Don't mess with non-test node labels in daemonset e2e test

  Other e2e tests will expect labels on the nodes. The daemonset test should only
  add and remove its own labels.

- Refactor node updating in deamonset e2e test
2015-09-28 19:20:39 +02:00
Piotr Szczesniak 564fcfb4b3 Fixed panic in autoscaling e2e tests 2015-09-28 15:02:49 +02:00
Wojciech Tyczynski 672e7c3427 Merge pull request #13792 from gmarek/playground
Initial Kubemark commit
2015-09-28 13:17:20 +02:00
Piotr Szczesniak 80d3e6eb5f Added debug logs to autoscaling_utils.go 2015-09-28 11:59:17 +02:00
gmarek dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +02:00
Brendan Burns 4403a6a05e Disable kubelet_perf test in GKE 2015-09-26 20:06:40 -07:00
Dr. Stefan Schimanski 6f2a1742ab Add positive e2e test for NodeSelector 2015-09-26 09:46:56 +02:00
Dr. Stefan Schimanski 4d4ebe9f18 Add Mesos slave attributes as node labels
- pre-create node api objects from the scheduler when offers arrive
- decline offers until nodes a registered
- turn slave attributes as k8s.mesosphere.io/attribute-* labels
- update labels from executor Register/Reregister
- watch nodes in scheduler to make non-Mesos labels available for NodeSelector matching
- add unit tests for label predicate
- add e2e test to check that slave attributes really end up as node labels
2015-09-26 09:46:56 +02:00
Yu-Ju Hong d19329aa6b Add clarity and fix bugs for kubelet e2e test 2015-09-25 18:22:24 -07:00
nikhiljindal d61ed52799 Adding an e2e test for deployment 2015-09-25 17:14:31 -07:00
Brian Grant 10a7f2b1fa Merge pull request #14453 from yujuhong/kubelet_benchmark
Add a slow e2e test to monitor kubelet resource usage
2015-09-25 13:31:59 -07:00
Brian Grant 5f55b70976 Merge pull request #14450 from saad-ali/issue11391
Add new GCE PD E2E test to verify two PDs attached to one container
2015-09-25 13:31:30 -07:00
Piotr Szczesniak 67e5aca7f3 Enabled cluster autoscaling based on cpu/mem reservation e2e tests 2015-09-25 16:23:58 +02:00
Piotr Szczesniak ea27ecf9ff Small fixes in autoscaling e2e utils 2015-09-25 14:52:32 +02:00
Marcin Wielgus aab1cdfcfd Merge pull request #14546 from piosz/resource-consumer-fix
Another attempt to fix problem with not ready endpoints in autoscalin…
2015-09-25 12:06:41 +02:00
Piotr Szczesniak b2cc7d0ac0 Another attempt to fix problem with not ready endpoints in autoscaling e2e 2015-09-25 10:24:28 +02:00
Piotr Szczesniak dca306e210 Actually enabled Horizontal Pod Autoscaling tests 2015-09-25 07:11:46 +02:00
Chao Xu ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune c340d664da Merge pull request #14046 from soltysh/job_controller_reaper_scaler
Reaper and scaler for jobs
2015-09-24 13:54:31 -07:00
Eric Tune ff1156d4c1 Merge pull request #13930 from ArtfulCoder/privileged
allow privileged pods
2015-09-24 13:42:31 -07:00
Brian Grant 42cb619471 Merge pull request #14508 from lavalamp/fix-14477
Fix bug with empty subsets
2015-09-24 12:57:16 -07:00
Marcin Wielgus 4634246391 E2E test - check pod.Status.Phase when greping through pod logs 2015-09-24 20:05:03 +02:00
Daniel Smith 76a37694f6 Revert "Temporary workaround of problem with not ready endpoints."
This reverts commit eb9cb8fbae.
2015-09-24 10:49:43 -07:00
Brendan Burns ec427f22b1 Disable race detection for all integration tests 2015-09-24 09:37:01 -07:00
Piotr Szczesniak eb9cb8fbae Temporary workaround of problem with not ready endpoints. 2015-09-24 14:57:21 +02:00
Jerzy Szczepkowski 4d44ab5703 Merge pull request #14486 from jszczepkowski/hpa-tune
E2E tests for horizontal pod autoscaler.
2015-09-24 14:51:41 +02:00
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