Skip to content
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

Add "disable-compression" to selectively disable Client Compression #1627

Closed
markdingram opened this issue Nov 5, 2024 · 1 comment · Fixed by #1628
Closed

Add "disable-compression" to selectively disable Client Compression #1627

markdingram opened this issue Nov 5, 2024 · 1 comment · Fixed by #1628
Assignees
Labels
client kube Client related

Comments

@markdingram
Copy link
Contributor

Would you like to work on this feature?

yes

What problem are you trying to solve?

Currently compression is tied to the gzip feature. The use case for bringing in the disable-compression config option is to facilitate a gradual rollout across many clusters without needing 2 binaries.

Previously discussed here:
#1331 (comment)

Describe the solution you'd like

Add the "disable-compression" flag & flow through to the Client construction to allow selective disable even when gzip feature is enabled

Describe alternatives you've considered

None

Documentation, Adoption, Migration Strategy

No response

Target crate for feature

kube-client

@clux
Copy link
Member

clux commented Nov 5, 2024

Seems reasonable to me. Can be defaulted sensibly, and can be documented as 'only has an effect when gzip feature is enabled'.

Thanks for the issue before a PR and good context links btw!

@clux clux added the client kube Client related label Nov 5, 2024
markdingram added a commit to markdingram/kube-rs that referenced this issue Nov 5, 2024
@clux clux linked a pull request Nov 5, 2024 that will close this issue
markdingram added a commit to markdingram/kube-rs that referenced this issue Nov 6, 2024
markdingram added a commit to markdingram/kube-rs that referenced this issue Nov 6, 2024
markdingram added a commit to markdingram/kube-rs that referenced this issue Nov 6, 2024
markdingram added a commit to markdingram/kube-rs that referenced this issue Nov 6, 2024
markdingram added a commit to markdingram/kube-rs that referenced this issue Nov 6, 2024
clux added a commit that referenced this issue Nov 19, 2024
- rounds out all of the https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/#Cluster options

Signed-off-by: Mark Ingram <mark@lincs.dev>
Co-authored-by: Eirik A <sszynrae@gmail.com>
@clux clux mentioned this issue Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client kube Client related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants