contour
contour copied to clipboard
disableCompression: Expose configuration to toggle Envoy GZIP compression on the responses
For https://github.com/projectcontour/contour/issues/6511
This PR adds,
- Listener configuration that exposes a boolean flag to disable compression, by default compression is enabled. This also provides us a way to disable if the users prefer to trade network for CPU, especially when teams want to run lean Envoy instances and rely on horizontal scalability.
- We will run the test build for a while in our cluster to show the actual cost benefit.
Related https://github.com/projectcontour/contour/issues/310, there had been mentions about disabling compression, the ticket we had raised shows the reason where disabling compression can bring cost benefits.