Skip to content

Commit

Permalink
Fix unformatted code blocks in README
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuAlfageme committed Sep 9, 2024
1 parent 52ae178 commit 3a10a4e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<KUBE-CONFIG> --apiserver=<APISERVER>
```
go install
kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig=<KUBE-CONFIG> --apiserver=<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).
Expand Down
13 changes: 8 additions & 5 deletions README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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=<KUBE-CONFIG> --apiserver=<APISERVER>
```
go install
kube-state-metrics --port=8080 --telemetry-port=8081 --kubeconfig=<KUBE-CONFIG> --apiserver=<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).

Expand Down

0 comments on commit 3a10a4e

Please sign in to comment.