-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Allow compression of json response body using Accept-Encoding header #44164
Labels
Milestone
Comments
ilackarms
changed the title
Allow compression of json response body using Content-Encoding header
Allow compression of json response body using Accept-Encoding header
Apr 17, 2017
k8s-github-robot
added
the
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
label
May 31, 2017
#45666 adds this feature |
/sig api-machinery |
k8s-ci-robot
added
the
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
label
Jun 4, 2017
k8s-github-robot
removed
the
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
label
Jun 4, 2017
@ilackarms link your pull and tag me when have it open so we can be sure it makes 1.7 |
gating issue #46963 |
ilackarms
added a commit
to ilackarms/kubernetes
that referenced
this issue
Jun 6, 2017
k8s-github-robot
pushed a commit
that referenced
this issue
Jun 6, 2017
Automatic merge from submit-queue add gzip compression to GET and LIST requests Fixes #44164 Enable compressed response bodies for non-watch GET and LIST requests on API Objects. **What this PR does / why we need it**: Adds compression via Accept-Encoding header, returns Content-Encoding header on responses (only supports gzip at this time). Enabled solely for GET and LIST requests which can return very large response bodies. **Special notes for your reviewer**: See #44164 for discussion. **Release note**: ```release-note- ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
No
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
compression, gzip, response, json
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Feature Request
JSON payload returned by Kubernetes can be very large on
GET
requests when there are a lot of managed resources in the cluster.Currently it is not possible to specify that large response bodies should be compressed via request headers.
Specifying the
Accept-Encoding
header on aGET
request should cause the k8s apiserver to respond with response Body compressed with the given encoding sceme (e..g gzip, bzip2, etc.)The text was updated successfully, but these errors were encountered: