k3s/test/e2e
Kubernetes Submit Queue a8060ab0a1
Merge pull request #59646 from mlmhl/fix_volume_metrics_e2e
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add bound/unbound pv/pvc volume metrics

**What this PR does / why we need it**:

Fix two bugs in bound/unbound pv/pvc volumes metric e2e test:

1. Check `HasRegisteredMaster` in `BeforeEach` instead of each tests because we will grab the metrics in `BeforeEach`

2. Fix `calculateRelativeValues` bug, if there are other PV/PVC exist in the cluster, `calculateRelativeValues` will return a map like `map[string]int64{"some-storage-class-name": 0}`, this will lead to test failure. We should skip these unchanged numbers.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #59517

**Release note**:

```release-note
NONE
```

/sig storage
2018-02-14 22:10:45 -08:00
..
apimachinery Merge pull request #59010 from cheftako/webhook-crd 2018-02-07 15:27:37 -08:00
apps controller-manager: switch to config/option struct pattern 2018-02-13 11:16:17 +01:00
auth Merge pull request #58900 from Random-Liu/fix-psp-test 2018-01-26 21:00:38 -08:00
autoscaling Increase timeout on waiting on cluster resize in autoscaling tests 2018-02-13 12:43:24 +01:00
chaosmonkey Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
common fix all the typos across the project 2018-02-11 11:04:14 +08:00
framework Merge pull request #59646 from mlmhl/fix_volume_metrics_e2e 2018-02-14 22:10:45 -08:00
generated fix all the typos across the project 2018-02-11 11:04:14 +08:00
instrumentation Merge pull request #59103 from Random-Liu/upload-container-runtime-log 2018-02-14 03:33:21 -08:00
kubectl
lifecycle Merge pull request #58396 from chrisglass/do_not_use_ifupdown 2018-01-31 11:48:03 -08:00
manifest Autogenerated BUILD changes 2018-02-09 18:44:22 -08:00
network controller-manager: switch to config/option struct pattern 2018-02-13 11:16:17 +01:00
node Merge pull request #59217 from filbranden/cos1 2018-02-06 00:43:13 -08:00
perftype
scalability fix all the typos across the project 2018-02-11 11:04:14 +08:00
scheduling fix all the typos across the project 2018-02-11 11:04:14 +08:00
servicecatalog
storage Merge pull request #59646 from mlmhl/fix_volume_metrics_e2e 2018-02-14 22:10:45 -08:00
testing-manifests Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
ui Remove /ui/ redirect 2018-02-12 10:54:33 -05:00
upgrades Merge pull request #59313 from MrHohn/e2e-ingress-scale-new 2018-02-09 14:46:34 -08:00
BUILD Move multizone e2e to sig scheduling path 2018-01-25 08:42:16 -08:00
README.md
e2e-example-config.json
e2e.go Fix golint errors on test/e2e/e2e.go 2018-01-11 10:13:10 -08:00
e2e_test.go Move multizone e2e to sig scheduling path 2018-01-25 08:42:16 -08:00
examples.go the changes introduced in this commit plumbs in the generic scaler into kubectl. 2018-01-12 09:21:18 +01:00
gke_local_ssd.go
gke_node_pools.go

README.md

See e2e-tests

Analytics