Commit Graph

17 Commits (1a01154162341dfff89f9526324b30f1cfccec64)

Author SHA1 Message Date
danielqsj 873fbf9112 Fix golint in test/e2e/instrumentation/monitoring 2019-03-05 07:07:06 +08:00
Chao Xu 3f21ca029a changing imports 2019-02-12 10:06:04 -08:00
Daniel Kłobuszewski 68ebdaacef Fix Stackdriver custom metrics tests
They were broken probably by https://github.com/kubernetes/kubernetes/pull/68015
that introduced a REST mapper which doesn't contain a mapping for Pod
resource, yet the test is depending on it.
2018-09-27 13:26:27 +02:00
Mike Dame 364afe4042 Support multiple versions in custom metrics client
This changes the custom metrics client logic over to support multiple versions
of the custom metrics API by checking discovery to find the appropriate versions.

Fixes #68011

Co-authored-by: Solly Ross <sross@redhat.com>
2018-09-06 15:20:00 -04:00
Mike Dame 77d7f9cfa2 Generate files and modifications for autoscaling/v2beta2 and custom_metrics/v1beta2 2018-08-27 11:07:53 -04:00
hangaoshuai bad744a80e fix some minor mistakes in e2e 2018-08-14 09:21:21 +08:00
Karol Wychowaniec 63e6496c61 Allow for system metrics discovery in Custom Metrics - Stackdriver Adapter test 2018-05-18 11:20:45 +02:00
Karol Wychowaniec ac7ae3be7c Use old resource model in External Metrics API e2e tests 2018-03-30 14:00:38 +02:00
Karol Wychowaniec 35f10074fb Add a configuration step to make the test work on GKE 2018-03-21 15:40:25 +01:00
Karol Wychowaniec 71f14cf335 Add e2e test for Custom Metrics API with new Stackdriver resource model
and External Metrics API.
2018-03-20 15:51:58 +01:00
Ryan Hitchman e04b91facf Remove unused variables (only assigned to) from test code.
This is revealed by the go/types package, which is stricter than
the Go compiler about unused variables. See also: golang/go#8560
2018-02-27 13:45:31 -08:00
supereagle d92fcd2f53 use rbac client with explicit version 2017-12-01 09:01:49 +08:00
Karol Wychowaniec 770dacde45 Use HPA permissions to read custom metrics in Custom Metrics e2e test 2017-11-10 15:59:46 +01:00
Kevin 4c8539cece use core client with explicit version globally 2017-10-27 15:48:32 +08:00
Karol Wychowaniec d75fd82159 Fix expected result in Custom Metrics - Stackdriver Adapter e2e test 2017-10-16 14:32:30 +02:00
Karol Wychowaniec 5bad51f616 Add test for HPA 2017-10-05 16:13:17 +02:00
Karol Wychowaniec 505ab0c79e Create e2e test for Custom Metrics - Stackdriver Adapter 2017-10-04 10:15:31 +02:00