Skip to content

Commit

Permalink
Merge pull request #2498 from SamuAlfageme/fix-readme-codeblocks
Browse files Browse the repository at this point in the history
docs: fix unformatted code blocks in README
  • Loading branch information
k8s-ci-robot committed Sep 9, 2024
2 parents 52ae178 + 3a10a4e commit aebbb39
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 aebbb39

Please sign in to comment.