CatherineF-dev
CatherineF-dev
cc @rexagod @dgrisonnet to have another review (approval).
/reopen Sry, I wanted to resolve one comment, instead of closing this PR. I typed `/close` in one comment, and didn't know it would close the PR.
@bengoldenberg09 1. Could you help provide detailed steps on reproducing this issue? Thx 2. Does latest KSM still have this issue?
qq: could anyone help provide detailed steps to reproduce this issue? Thx!
cc @bengoldenberg09, could you paste the deployment yaml again? The above code formatting messed up. cc @naweeng, do you remember how to reproduce?
This error is thrown from here https://github.com/kubernetes/kube-state-metrics/blob/v2.8.2/pkg/metricshandler/metrics_handler.go#L210-L215 with error `write: broken pipe` or `golang write: connection reset by peer` ```golang // w http.ResponseWriter for _, w := range m.metricsWriters {...
I feel this might be related to go version. Could you try v2.9.0+ which uses golang 1.9? cc @naweeng
@bxy4543, could you help reproduce with detailed steps?
Thx! > cannot read stream body in 1 seconds: the response from "http://xxx:8080/metrics" exceeds -promscrape.maxScrapeSize=16777216; either reduce the response size for the target or increase -promscrape.maxScrapeSize qq: where did you...