shell-operator icon indicating copy to clipboard operation
shell-operator copied to clipboard

Implement custom cache storage for client-go to reduce memory consumption when monitoring large objects

Open diafour opened this issue 5 years ago • 0 comments

The problem occurs with binding to kind with big objects, for example, Helm releases‘ ConfigMaps. Shell-operator has keepFullObjectsInMemory option to save in memory only the result of applying jqFilter. It helps reduce memory footprint but not fully resolve the problem. client-go library has a cache for the internal purpose and full objects are still in memory. Shell-operator should implement a cache for client-go that will not save full objects in memory.

diafour avatar Jul 06 '20 15:07 diafour