k0sctl icon indicating copy to clipboard operation
k0sctl copied to clipboard

Have a way to disable compression for data transfers

Open twz123 opened this issue 3 years ago • 1 comments

k0sctl uses gzip compression when copying binaries and other files to to-be-provisioned machines. When having a fast network, but not-so-powerful machines (e.g. some edge/IoT devices), this takes longer than transferring the data without gzip, since the compression eats up 100% CPU time on the receiving side and becomes the bottleneck.

It would be convenient to have some means of disabling compression for those scenarios.

twz123 avatar Aug 31 '22 06:08 twz123

Sounds reasonable. Implementing is not a piece of cake, the gzip happens in the depths of rig's upload function.

kke avatar Aug 31 '22 07:08 kke

Compression has been removed

kke avatar Jan 09 '24 11:01 kke