Skip to content

Commit aebbb39

Browse files
authored
Merge pull request #2498 from SamuAlfageme/fix-readme-codeblocks
docs: fix unformatted code blocks in README
2 parents 52ae178 + 3a10a4e commit aebbb39

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,17 +407,20 @@ Starting from the kube-state-metrics chart `v2.13.3` (kube-state-metrics image `
407407

408408
#### Development
409409

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:
412411

413412
> Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line.
414413

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+
```
417418
418419
Then curl the metrics endpoint
419420
420-
curl localhost:8080/metrics
421+
```
422+
curl localhost:8080/metrics
423+
```
421424
422425
To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md).
423426

README.md.tpl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,17 +408,20 @@ Starting from the kube-state-metrics chart `v2.13.3` (kube-state-metrics image `
408408

409409
#### Development
410410

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:
413412

414413
> Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line.
415414

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+
```
418419

419420
Then curl the metrics endpoint
420421

421-
curl localhost:8080/metrics
422+
```
423+
curl localhost:8080/metrics
424+
```
422425

423426
To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md).
424427

0 commit comments

Comments
 (0)