-
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
prefer protobuf instead of just json format #475
Conversation
/cc @smarterclayton |
/cc @brancz |
Have you tried this against a couple of clusters? I recall that in an earlier attempt of this, there were some issues left when changing the accept header to proto. |
I tried running this against a cluster and quickly got this kind of output for all list-watches:
|
Actually not. I have just test that the |
dc88f1d
to
3258e1e
Compare
This should work, does the watch still fail? Please ping me on slack if this still has problems. |
@caesarxuchao Yes, it works. We have test it locally. Maybe what i want to know is that what is the requirement for enabling protobuf support in client-go since there is no wiki nor examples about this. @brancz it should be ok to merge this for now, i think. ~ |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyxning, brancz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR will prefer protobuf format when communicating with apiserver instead of just json.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #264