shell-operator
shell-operator copied to clipboard
Implement custom cache storage for client-go to reduce memory consumption when monitoring large objects
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.