Commit Graph

61 Commits (1430597f7e5917c29fa068bc230eeaf8c97fc747)

Author SHA1 Message Date
NickrenREN a12dea14e0 fix redundant alias clientset 2017-01-12 10:21:05 +08:00
deads2k 6a4d5cd7cc start the apimachinery repo 2017-01-11 09:09:48 -05:00
Chao Xu 03d8820edc rename /release_1_5 to /clientset 2016-12-14 12:39:48 -08:00
Chao Xu a55c71db4d test/e2e 2016-11-23 15:53:09 -08:00
Yu-Ju Hong 5bf9a699f1 Use generous limits in the resource usage tracking tests
These tests are mainly used to catch resource leaks in the soak cluster. Using
higher limits to reduce noise.
2016-11-10 18:01:58 -08:00
Yu-Ju Hong 3ef7d17c18 e2e: bump limits for kubelet's cpu usage 2016-11-03 14:18:26 -07:00
Jan Chaloupka 4fde09d308 Replace client with clientset in code 2016-10-23 22:00:35 +02:00
gmarek f08f751831 Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
Kubernetes Submit Queue cd44cec587 Merge pull request #34765 from ivan4th/fix-more-typos
Automatic merge from submit-queue

Fix typos
2016-10-19 00:21:11 -07:00
Ivan Shvedunov 2b427f7d59 Fix typos 2016-10-14 00:29:50 +03:00
gmarek 7681a1bdff Move RunRC-like functions to test/utils 2016-10-12 15:06:56 +02:00
deads2k 48ac4d549d change e2e scale to avoid adapter 2016-09-26 07:58:01 -04:00
Dawn Chen 96f091b4d7 Increase docker's resource limit 2016-09-01 11:03:32 -07:00
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