From 3a10a4ee2e1b1673df23a3464bdcf8792309dc6a Mon Sep 17 00:00:00 2001 From: Samuel Alfageme Sainz Date: Mon, 9 Sep 2024 18:30:58 +0200 Subject: [PATCH] Fix unformatted code blocks in README --- README.md | 13 ++++++++----- README.md.tpl | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 993a9bdb11..7ad8eaa943 100644 --- a/README.md +++ b/README.md @@ -407,17 +407,20 @@ Starting from the kube-state-metrics chart `v2.13.3` (kube-state-metrics image ` #### Development -When developing, test a metric dump against your local Kubernetes cluster by -running: +When developing, test a metric dump against your local Kubernetes cluster by running: > Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line. - go install - kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig= --apiserver= +``` +go install +kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig= --apiserver= +``` Then curl the metrics endpoint - curl localhost:8080/metrics +``` +curl localhost:8080/metrics +``` To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md). diff --git a/README.md.tpl b/README.md.tpl index a41d8bdc1d..4faa67be78 100644 --- a/README.md.tpl +++ b/README.md.tpl @@ -408,17 +408,20 @@ Starting from the kube-state-metrics chart `v2.13.3` (kube-state-metrics image ` #### Development -When developing, test a metric dump against your local Kubernetes cluster by -running: +When developing, test a metric dump against your local Kubernetes cluster by running: > Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line. - go install - kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig= --apiserver= +``` +go install +kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig= --apiserver= +``` Then curl the metrics endpoint - curl localhost:8080/metrics +``` +curl localhost:8080/metrics +``` To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md).