Commit Graph

48 Commits (95eb9efb11a41a88e6b05402a26a68ade928416f)

Author SHA1 Message Date
Chao Xu 3688a78769 let load and density e2e tests use GC if it's on 2016-08-11 11:48:20 -07:00
Harry Zhang c495397cae Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Yu-Ju Hong 02d7af28e0 kubelet e2e: enforce that image prepulling must finish before the test
The image prepulling pod calls docker directly to pull images. If the pod
hasn't finished before running the resource usage tracking test, there'd be a
cpu spike in docker. We'd rather wait and fail if this is the case, before
running the test.
2016-06-03 12:25:25 -07:00
Yu-Ju Hong ede3e885d6 kubelet e2e: bumping cpu limit 2016-06-01 11:40:48 -07:00
Yu-Ju Hong da11786968 kubelet e2e: set cpu/memory limits for docker 1.11
Docker 1.11 consumes more memory. Bump the limit to fix the tests. Also add
new limits for the 100-pod resource usage tracking test.
2016-05-31 12:31:29 -07:00
Lucas Käldström 79ca1911e1 Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
Daniel Smith 0bda969cd5 Merge pull request #25261 from jayunit100/readySched
Support GetReadySchedulable pods for all node selecting tests.
2016-05-18 17:24:09 -07:00
k8s-merge-robot c4214f743f Merge pull request #24918 from Random-Liu/add-docker-operation-timeout
Automatic merge from submit-queue

Kubelet: Add docker operation timeout

For #23563.
Based on #24748, only the last 2 commits are new.

This PR:
1) Add timeout for all docker operations.
2) Add docker operation timeout metrics
3) Cleanup kubelet stats and add runtime operation error and timeout rate monitoring.
4) Monitor runtime operation error and timeout rate in kubelet perf.

@yujuhong 
/cc @gmarek Because of the metrics change.
/cc @kubernetes/sig-node
2016-05-09 21:51:52 -07:00
Random-Liu 148588e6a1 1) Add docker operation timeout metrics.
2) Cleanup kubelet stats and add runtime operation error and timeout
rate monitoring.
3) Monitor runtime operation error and timeout rate in
kubelet perf.
2016-05-06 10:53:13 -07:00
Jay Vyas 326b213231 Consolidate node selecting tests to only use Schedulable + Running
nodes.
2016-05-06 10:32:12 -04:00
Muhammed Uluyol f3690e2d5e
build/pause: write in C
Builds statically against glibc. References to the old pause
image have been updated.
2016-05-04 21:45:52 -04:00
Random-Liu 5b2ddc9f2c Add perfdash support in kubelet_perf and metrics_util 2016-04-13 14:32:11 -07:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Yu-Ju Hong a8c685921f e2e: adapt kubelet_perf.go to use the new summary metrics API
This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 09:27:46 -07:00
Jay Vyas 9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
Mike Danese f8e1404f87 e2e: seperate wait for termination notice and graceful termination 2016-03-11 09:42:31 -08:00
gmarek 38411818ed Make kubelet-perf 100 pod/node test work with registered master 2016-03-09 16:05:04 +01:00
k8s-merge-robot 5efa8aa7d1 Merge pull request #22404 from yujuhong/dump_mem
Auto commit by PR queue bot
2016-03-05 00:38:56 -08:00
Yu-Ju Hong 52d75d2188 e2e: print runtime MemStats when memory usage exceeds expectation 2016-03-02 17:20:49 -08:00
Yu-Ju Hong 216727c448 e2e: add kubelet resource usage test to monitor 100 pods per node 2016-03-02 15:23:54 -08:00
k8s-merge-robot 9e5d1b61fa Merge pull request #21882 from gmarek/throttle
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
gmarek 110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +01:00
Yu-Ju Hong cdece9922b e2e: fix logging the latest cpu summary 2016-02-23 12:16:15 -08:00
Yu-Ju Hong f52e0e5e1f e2e: set RSS memory usage limit for kubelet/docker 2016-02-23 12:14:09 -08:00
Yu-Ju Hong 715ea4c8b1 e2e: checking RSS memory for daemons 2016-02-12 13:16:27 -08:00
Yu-Ju Hong 3d1972054f Adjust the limits in the kubelet resource tracking test
The new limits reflect the recent changes in kubelet, and also account for
noise better.
2016-02-01 10:30:14 -08:00
Isaac Hollander McCreery d002a68f3c Label feature tests for Feature:DaemonSet, Feature:Deployment, Feature:ExperimentalResourceUsageTracking, and remove GKE and AWS skip lists 2016-01-27 16:09:12 -08:00
Isaac Hollander McCreery 14d9a0f2c8 Label slow tests [Slow] 2015-12-22 12:29:57 -08:00
Isaac Hollander McCreery bd49a3420e Add [Disruptive] and [Serial] labels to appropriate tests
And use for partitioning; makes progress toward 10548
2015-12-18 11:12:28 -08:00
k8s-merge-robot 4a9922c900 Merge pull request #18509 from gmarek/fix-e2e-pd
Auto commit by PR queue bot
2015-12-17 02:06:23 -08:00
Yu-Ju Hong 251179327d Change the pods per node from 40 to 35 for resource tracking tests
The maximum number of pods allowed on kubelet is 40. Let's not exceed that in
the tests.
2015-12-16 10:04:26 -08:00
gmarek f38455ddc3 Update e2e tests to list only schedulable nodes, to make them work with master Node registered. 2015-12-14 16:28:23 +01:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Yu-Ju Hong 7e8f4d831d e2e: set expected cpu usage upper bounds
Fail the test if the actual cpu usage is greater than expected.
2015-12-11 10:12:26 -08:00
Yu-Ju Hong c1a0502487 Change the kubelet --max-pods limit to 110 for test clusters
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.

Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Matt Moore b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
k8s-merge-robot 8580804f77 Merge pull request #15138 from mattmoor/limited-beta-rewrite
Auto commit by PR queue bot
2015-10-10 11:41:34 -07:00
Dr. Stefan Schimanski cb00df9b28 Tag conformance tests with a [Conformance] string in the description
- remove skip list from conformance-test.sh and filter by the new tag
- remove experimental api tests from conformance test suite
- remove all tests from conformance test suite which are either
  restricted to e.g. gce, gke, aws or require SSH
2015-10-09 23:14:43 +01: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
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
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
Brendan Burns 4403a6a05e Disable kubelet_perf test in GKE 2015-09-26 20:06:40 -07:00
Yu-Ju Hong d19329aa6b Add clarity and fix bugs for kubelet e2e test 2015-09-25 18:22:24 -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