Commit Graph

2187 Commits

Author SHA1 Message Date
k8s-merge-robot
3644492e66 Merge pull request #19046 from thockin/e2e-svcs-not-round-robin
Auto commit by PR queue bot
2015-12-30 13:08:43 -08:00
k8s-merge-robot
b51b6c917d Merge pull request #19194 from gmarek/spam
Auto commit by PR queue bot
2015-12-30 07:10:38 -08:00
gmarek
fd3dcabf72 Remove node status checking spam from tests 2015-12-30 11:01:00 +01:00
k8s-merge-robot
728ed4bb83 Merge pull request #19142 from gmarek/grab-metrics
Auto commit by PR queue bot
2015-12-30 01:44:28 -08:00
Mike Danese
b6614a4cc7 promote complex daemonset test out of flaky 2015-12-29 13:02:08 -08:00
Tim Hockin
4bbbb9a3c9 e2e: Loop more to defeat service randomization 2015-12-29 11:23:19 -08:00
Wojciech Tyczynski
3a16ca7ce1 Increase limit for elasticsearch logs amount in scalability tests 2015-12-29 15:20:50 +01:00
Marek Grabowski
af104dd8df Merge pull request #19162 from gmarek/log_monitoring
Add an exponential backoff for reading log sizes
2015-12-29 13:32:22 +01:00
k8s-merge-robot
6f97970339 Merge pull request #19168 from mwielgus/turn-off-monitoring
Auto commit by PR queue bot
2015-12-29 04:05:35 -08:00
Marcin Wielgus
c9036f00d1 Mark monitoring e2e tests as flaky until the new Heapster release 2015-12-29 12:32:50 +01:00
Marek Grabowski
316f8469a7 Merge pull request #19169 from gmarek/resource-usage
Temporarily increase allowed resources for elasticsearch in density tests
2015-12-29 12:24:00 +01:00
gmarek
2887aff3da Temporarily increase allowed resources for elasticsearch in density tests 2015-12-29 12:21:38 +01:00
gmarek
2388787c38 Add an exponential backoff for reading log sizes 2015-12-29 10:59:38 +01:00
gmarek
1df78a2398 Add a framework for multiple writers for various test data summaries 2015-12-29 10:26:44 +01:00
gmarek
2dcafa3854 Add a flag that will make test gather metrics from all running components after the test finishes. 2015-12-28 12:10:39 +01:00
Clayton Coleman
9dad7e624c Split the serviceaccount package into two parts
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
k8s-merge-robot
df3f476722 Merge pull request #19056 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-24 11:58:46 -08:00
k8s-merge-robot
16e1de6db6 Merge pull request #18859 from deads2k/gv-grab-bag
Auto commit by PR queue bot
2015-12-23 23:57:24 -08:00
k8s-merge-robot
05a1295085 Merge pull request #18714 from gmarek/metrics-grabber
Auto commit by PR queue bot
2015-12-23 10:30:06 -08:00
gmarek
95825a5bd8 Print errors in log_size_monitoring 2015-12-23 12:36:12 +01:00
gmarek
dec5096bfd Delete not working writePerfData 2015-12-23 12:30:49 +01:00
gmarek
0e3c33bdec log_size_monitor shouldn't fail test in case of error 2015-12-23 10:17:04 +01:00
Isaac Hollander McCreery
8b255feeee Add flaky label [Flaky] to tests 2015-12-22 12:29:57 -08:00
Isaac Hollander McCreery
14d9a0f2c8 Label slow tests [Slow] 2015-12-22 12:29:57 -08:00
Filip Grzadkowski
4ee0e7e43c Fix e2e tests broken in #17865 2015-12-22 13:59:35 +01:00
gmarek
9dbbc4e1df Add a tool for grabbing and parsing prometheus metrics 2015-12-22 12:33:37 +01:00
Wojciech Tyczynski
6ce85817ea Fix density test 2015-12-22 10:50:05 +01:00
HaiyangDING
d9f3607292 Implement multi-scheduler:
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
	- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
	- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"

update gofmt

update according to @david's review

run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
deads2k
d41e7ecf53 miscellaneous group version updates 2015-12-21 09:52:50 -05:00
k8s-merge-robot
2efc738d5b Merge pull request #18458 from hongchaodeng/perf
Auto commit by PR queue bot
2015-12-21 01:54:09 -08:00
Clayton Coleman
0702164f05 httplog is not a CloseNotifier
We wrap TimeoutHandler with RecoverPanics, but httplog does not
implement http.CloseNotifier, which causes a naive watch from curl
against the insecure port to fail.

For now, implement CloseNotifier (but we should consider removing
httplog now that we have other tools in the stack to manage it).
2015-12-20 21:59:59 -05:00
k8s-merge-robot
796cc55663 Merge pull request #18773 from ihmccreery/fix-upgrade-proxy
Auto commit by PR queue bot
2015-12-19 21:10:34 -08:00
k8s-merge-robot
d01a954be7 Merge pull request #18682 from bprashanth/docker_exec
Auto commit by PR queue bot
2015-12-19 20:32:53 -08:00
k8s-merge-robot
3c3a24e1d4 Merge pull request #18694 from thockin/airplane_validation_pt7
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot
9e8233fc3c Merge pull request #17398 from janetkuo/deployment-controller-informer
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Eric Tune
f15b2e32a7 Merge pull request #16422 from hurf/created_by
Display controllers along with type when describing a pod
2015-12-18 13:44:07 -08:00
k8s-merge-robot
7f5123f61f Merge pull request #18900 from ihmccreery/serial-tests
Auto commit by PR queue bot
2015-12-18 11:56:11 -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
7dc73a34ac Merge pull request #18856 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-18 10:38:36 -08:00
Tim Hockin
0fecf965b4 Change how one-of blocks are validated
I took a hard look at error output and played until I was happier.  This now
prints JSON for structs in the error, rather than go's format.

Also made the error message easier to read.

Fixed tests.
2015-12-18 09:42:14 -08:00
Hongchao Deng
9704222cf3 scheduler performance test suite: README.md docs 2015-12-18 09:41:00 -08:00
Hongchao Deng
161b106082 scheduler performance test suite: standalone entry script 2015-12-18 09:40:52 -08:00
Hongchao Deng
c0243ad4ee scheduler performance test suite: benchmarks and density tests 2015-12-18 09:39:33 -08:00
Mike Danese
cd8dfe70d9 Merge pull request #18836 from mikedanese/daemon-set
increase timeout on complex daemonset test
2015-12-18 08:06:26 -08:00
Wojciech Tyczynski
d1e039b646 Merge pull request #18635 from timothysc/etcd_client_post_cleanup
Update to use latest etcd client library
2015-12-18 14:14:21 +01:00
Janet Kuo
bd1200ba66 Make label and deployment name in deployment e2e test unique 2015-12-17 19:58:48 -08:00
Janet Kuo
32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Minhan Xia
cbcb3c040e Merge pull request #18783 from freehan/eslogging
increase grace period for elasticsearch cluster to complete master election
2015-12-17 17:31:08 -08:00
Phillip Wittrock
41f5b0b765 Node e2e test - propagate errors from tests to runner exit code. 2015-12-17 15:37:11 -08:00
Eric Tune
1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Mike Danese
bff87533c6 increase timeout on complex daemonset test 2015-12-17 09:26:42 -08:00
k8s-merge-robot
548cfbf058 Merge pull request #18358 from gmarek/use-proxy
Auto commit by PR queue bot
2015-12-17 06:37:55 -08:00
Maciej Szulik
327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot
0f144fd351 Merge pull request #18529 from timstclair/server
Auto commit by PR queue bot
2015-12-17 04:27:11 -08:00
k8s-merge-robot
0b93238423 Merge pull request #18536 from mikedanese/ns-label
Auto commit by PR queue bot
2015-12-17 02:38:04 -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
k8s-merge-robot
5f1ebc3420 Merge pull request #18636 from feihujiang/removeStopCommandInE2eTest
Auto commit by PR queue bot
2015-12-16 23:38:11 -08:00
Nikhil Jindal
5fb943950d Merge pull request #18113 from nikhiljindal/serverLibrary
Extracting api server code into a library: part 1
2015-12-16 15:57:09 -08:00
Timothy St. Clair
c505a5d49d Updating kubernetes proper to use latest etcd client library 2015-12-16 15:56:35 -06:00
nikhiljindal
2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
k8s-merge-robot
7eed10a804 Merge pull request #18782 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 13:43:25 -08:00
k8s-merge-robot
418c729240 Merge pull request #18486 from timstclair/kubelet_stats
Auto commit by PR queue bot
2015-12-16 13:23:40 -08:00
Minhan Xia
c0e9612300 increase grace period for elasticsearch cluster to elect master 2015-12-16 12:26:09 -08:00
Phillip Wittrock
3d8835e2f0 remove cluster-name flag from e2e tests because it doesn't exist anymore 2015-12-16 12:10:25 -08:00
Isaac Hollander McCreery
a5d895ac49 Add version-guarding around calls to SubResource proxy in e2es 2015-12-16 11:18:47 -08:00
k8s-merge-robot
431ab7f77c Merge pull request #18446 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 10:56:48 -08:00
Jeff Lowdermilk
7069a81116 Merge pull request #18767 from yujuhong/reset_test
Change the pods per node from 40 to 35 for resource tracking tests
2015-12-16 10:51:56 -08:00
Saad Ali
3968a5e63c Merge pull request #18601 from pmorie/devel/provisioner-aws
Dynamic provisioner for AWS EBS
2015-12-16 10:51:35 -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
Phillip Wittrock
ad37e2654e Node e2e test fixes:
- Improve documentation and method naming
- Fix command this is run remotely
- Never reschedule the busybox logging test pod since it is supposed to terminate
- Update log test condition retrylogic to correctly retry instead of failing the test
- localhost -> 127.0.0.1 to work on coreos
- give name to etcd to work on coreos
- allow using full hostname for nodename for coreos
2015-12-16 09:22:48 -08:00
gmarek
13773cbdf9 Remove cluster-name from kubemark setup 2015-12-16 16:10:52 +01:00
k8s-merge-robot
0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
Minhan Xia
2c9ffc1b45 Merge pull request #18448 from freehan/eslogging
add validation for fluentd pods
2015-12-15 13:25:21 -08:00
Prashanth Balasubramanian
4d9a33f96e Services e2e should use kubectl exec instead of docker run. 2015-12-15 11:16:04 -08:00
Tim St. Clair
89bc7992f9 Refactor kubelet server into its own package
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
k8s-merge-robot
6f2351b981 Merge pull request #18618 from mesosphere/sur-697-annotations
Auto commit by PR queue bot
2015-12-15 05:26:47 -08:00
k8s-merge-robot
430be9ff0c Merge pull request #18674 from thockin/e2e-service-flakes
Auto commit by PR queue bot
2015-12-15 04:33:09 -08:00
Sergiusz Urbaniak
1fd3bc087b pod_task: use annotations rather than labels for roles
Roles support in Kubernetes-Mesos was done using pod labels. This
commits moves this to pod annotations. Pod label yaml files don't
support '*' characters, furthermore roles are consumed by the scheduler
only and are not meant for querying/filtering.
2015-12-15 12:45:54 +01:00
k8s-merge-robot
3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
b02417bb9b Merge pull request #18348 from mesosphere/sur-652-conformance-tests
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
Jan Safranek
700d92c2a8 AWS: Use GiB as units for disk sizes.
From some reason, MiBs were used for public functions and AWS cloud provider
recalculated them to GiB. Let's expose what AWS really supports and don't hide
real allocation units.
2015-12-15 10:18:00 +01:00
Piotr Szczesniak
fe04005959 Merge pull request #18658 from jszczepkowski/rc-bump
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-15 09:05:11 +01:00
Wojciech Tyczynski
99ed49dfaf Relax scalability limits 2015-12-15 08:14:07 +01:00
Tim St. Clair
2e6ef04aeb Don't record the same stat point multiple times 2015-12-14 17:48:01 -08:00
Minhan Xia
f0c176dd6a add validation for fluentd pods 2015-12-14 16:23:11 -08:00
Tim Hockin
86b91ac6bc Deflake a test - Sleep(5) != 5 seconds
Fixes #18283 (I hope - very rare flake)
2015-12-14 11:59:34 -08:00
Jerzy Szczepkowski
dd62c8e831 Autoscaling e2e tests: bumped resource consumer to version beta2.
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-14 16:55:26 +01: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
gmarek
4852ca23ef Make getSchedulingLatency use master proxy 2015-12-14 16:08:34 +01:00
deads2k
d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Sergiusz Urbaniak
67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
k8s-merge-robot
5566e32842 Merge pull request #18540 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-12-14 01:37:37 -08:00
Wojciech Tyczynski
f24d909dae Increase limit for listing pods in 100-node cluster 2015-12-14 09:20:12 +01:00
feihujiang
9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08:00
feihujiang
fd068b2887 Replace stop with delete command in e2e test 2015-12-14 15:49:05 +08:00
k8s-merge-robot
51e8c2e5f8 Merge pull request #17841 from mqliang/constant
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
k8s-merge-robot
9067833a31 Merge pull request #18382 from yujuhong/resource_usage
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Jeff Lowdermilk
09f9dc7d86 Merge pull request #18578 from ihmccreery/quiet-upgrades
Add quiet mode to gcloud calls from upgrade e2e tests
2015-12-11 15:49:50 -08: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