diff --git a/README.md b/README.md index 5b75994395..92dda792d7 100644 --- a/README.md +++ b/README.md @@ -406,6 +406,16 @@ Then curl the metrics endpoint To run the e2e tests locally see the documentation in [tests/README.md](./tests/README.md). +##### Debug CustomStateMetrics feature + +```bash +minikube start +... +go run main.go --custom-resource-state-only --custom-resource-state-config-file ksm-2223/custom-resource-config-file.yaml --kubeconfig ~/.kube/config +``` + +See more details [here](https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276) + #### Developer Contributions When developing, there are certain code patterns to follow to better your contributing experience and likelihood of e2e and other ci tests to pass. To learn more about them, see the documentation in [docs/developer/guide.md](./docs/developer/guide.md).