mirror of
https://github.com/kubernetes/client-go.git
synced 2025-12-26 06:32:27 +00:00
Golang automatically enables transport level gzip, but local network clients may wish to disable it for better CPU usage and lower latency (scheduler, controller-manager). Allow DisableCompression on rest.Config to modify the underlying transport. This impacts the transport cache, but it is expected that most clients connecting to the same servers within a process will have the same compression config. Kubernetes-commit: dee6de70d0e4ad381bd5de01b6d1fbd4fde004bc