-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metric encoding is broken when using --enable-gzip-encoding flag. #1371
Comments
It looks like the curl command can be accessed successfully, but the browser or Prometheus access fails. |
I will try to find the cause of the problem. |
/assign |
Merged
Any updates? |
Already merged into rc2 branch. |
This is fixed in master as well, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened: Ive enabled gzip compression for kube-state-metrics using extraArgs param in helm chatr (--enable-gzip-encoding)
What you expected to happen: i expect metrics to be compressed but accessible
How to reproduce it (as minimally and precisely as possible): Deploy latest kube-state-metrics chart 2.11.0 with extraAgrs that contains --enable-gzip-encoding param. Wait till kube-state-metrics pod starts. Try to access metrics using any browser. It will fail with "Failed to load resource: net::ERR_CONTENT_DECODING_FAILED" message in console.
Anything else we need to know?:
Environment:
kubectl version
): v1.17.13The text was updated successfully, but these errors were encountered: