Kubernetes Prow Robot
d20e3246ba
Merge pull request #96574 from hasheddan/cleanup-resource-tests
...
Fix test name in e2e resource metrics api test
2020-11-14 05:09:04 -08:00
hasheddan
bf270d1070
Fix test name in e2e resource metrics api test
...
Updates resouce to resource.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 15:19:55 -06:00
hasheddan
56c104a440
Relax matching on pod_memory_working_set_bytes metrics
...
Relaxes matching of pod_memory_working_set_bytes metric so that we won't
error due to presence of other pods.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 12:29:54 -06:00
hasheddan
25a04096e8
Match pod resource metrics to pod not container
...
Update node resource metrics e2e tests to match pod metrics to pod
instread of containers.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 10:29:21 -06:00
Kubernetes Prow Robot
0e0cc1ead8
Merge pull request #95839 from egernst/pod-usage
...
resource-metrics: add pod/sandbox metrics to endpoint
2020-11-12 19:36:23 -08:00
Eric Ernst
b26b755e94
resource-metrics: add pod metrics e2e test
...
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 10:14:13 -08:00
Morgan Bauer
8936adc146
relax matcher for ResourceMetricsAPI test
...
Instead of requiring only exactly the pods created, allow other pods
to exist by ignoring any extra matches.
2020-08-31 09:53:33 -07:00
Morgan Bauer
916c73b8a5
update ResourceMetricsAPI node-e2e test
...
/metrics/resource/v1alpha1 was deprecated and moved to
/metrics/resource
Renames to remove v1alpha1 from function names and matcher variables.
Pod deletion was taking multiple minutes, so set GracePeriodSeconds to 0.
Commented restart loop during test pod startup.
Move ResourceMetricsAPI out of Orphans by giving it a NodeFeature tag.
API removed in 7b7c73b
#88568
Test created 6051664
#73946
2020-08-14 11:28:35 -07:00
drfish
dfab6b637f
Update .import-aliases for e2e test framework
2020-03-25 11:40:02 +08:00
Mike Danese
76f8594378
more artisanal fixes
...
Most of these could have been refactored automatically but it wouldn't
have been uglier. The unsophisticated tooling left lots of unnecessary
struct -> pointer -> struct transitions.
2020-03-05 14:59:47 -08:00
SataQiu
d2bdf89a8b
fix golint issues in test/e2e_node
2019-11-26 16:26:55 +08:00
SataQiu
50bc528a7e
e2e: move LogFailedContainers out of e2e test framework util.go
2019-11-15 10:21:26 +08:00
David Zhu
f15cc60957
Update golang scientific notation using hack/update-gofmt.sh
2019-09-12 18:05:49 -07:00
carlory
d1290ffdef
clean up test code
2019-09-05 23:44:19 +08:00
SataQiu
641d330f89
e2e_node: clean up non-recommended import
2019-07-28 12:49:36 +08:00
Aaron Crickenberger
cb88d87dab
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/resourcemetrics/v1alpha1
2019-06-20 11:41:23 -07:00
SataQiu
d3a902ff5b
e2e refactor: cleanup Logf form framework/util
2019-05-24 16:39:46 +08:00
SataQiu
252cabf155
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 16:58:37 +08:00
David Ashpole
6051664c0f
add kubelet prometheus resource metrics endpoint
2019-03-07 15:39:37 -08:00