File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -407,17 +407,20 @@ Starting from the kube-state-metrics chart `v2.13.3` (kube-state-metrics image `
407
407
408
408
# ### Development
409
409
410
- When developing, test a metric dump against your local Kubernetes cluster by
411
- running :
410
+ When developing, test a metric dump against your local Kubernetes cluster by running :
412
411
413
412
> Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line.
414
413
415
- go install
416
- kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig=<KUBE-CONFIG> --apiserver=<APISERVER>
414
+ ```
415
+ go install
416
+ kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig=<KUBE-CONFIG > --apiserver=<APISERVER >
417
+ ```
417
418
418
419
Then curl the metrics endpoint
419
420
420
- curl localhost:8080/metrics
421
+ ```
422
+ curl localhost:8080/metrics
423
+ ```
421
424
422
425
To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md).
423
426
Original file line number Diff line number Diff line change @@ -408,17 +408,20 @@ Starting from the kube-state-metrics chart `v2.13.3` (kube-state-metrics image `
408
408
409
409
#### Development
410
410
411
- When developing, test a metric dump against your local Kubernetes cluster by
412
- running:
411
+ When developing, test a metric dump against your local Kubernetes cluster by running:
413
412
414
413
> Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line.
415
414
416
- go install
417
- kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig=<KUBE-CONFIG > --apiserver=<APISERVER >
415
+ ```
416
+ go install
417
+ kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig=<KUBE-CONFIG > --apiserver=<APISERVER >
418
+ ```
418
419
419
420
Then curl the metrics endpoint
420
421
421
- curl localhost:8080/metrics
422
+ ```
423
+ curl localhost:8080/metrics
424
+ ```
422
425
423
426
To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md).
424
427
You can’t perform that action at this time.
0 commit comments