kube-state-metrics/tests/e2e
Schlotter, Christian d1a8f317a3 tests/e2e/main_test.go use new promlint package and drop github.com/prometheus/prometheus dependency
Signed-off-by: Schlotter, Christian <christian.schlotter@daimler.com>
2021-07-14 10:43:18 +02:00
..
framework Replace deprecated io/ioutil 2021-04-19 02:42:23 +02:00
README.md [e2e] Check errors in kube-state-metrics own metrics 2020-03-17 11:31:51 +01:00
main_test.go tests/e2e/main_test.go use new promlint package and drop github.com/prometheus/prometheus dependency 2021-07-14 10:43:18 +02:00

README.md

To run these tests, you need to provide two CLI flags:

  • --ksm-http-metrics-url: url to access the kube-state-metrics service
  • --ksm-telemetry-url: url to access the kube-state-metrics telemetry endpoint

Example:

go test -v ./tests/e2e \
   --ksm-http-metrics-url=http://localhost:8080/ \
   --ksm-telemetry-url=http://localhost:8081/