mittwald / kubernetes-replicator

Kubernetes controller for synchronizing secrets & config maps across namespaces
Apache License 2.0
866 stars 100 forks source link

Memory consumption is high #341

Open boris-smidt-klarrio opened 2 months ago

boris-smidt-klarrio commented 2 months ago

Describe the bug The memory consumption is quite high of this operator

To Reproduce Deploy the controller on a larger cluster

Expected behavior It should only keep the secrets in memory with the labels of the replication.

Environment:

Additional context

There was already an issue #284 fix but no changes the changes where never released. It might be usefull to also filter certain namespaces from where the secret/data might originate to limit the memory usage.

My suggestion, it would be besst to release 'v2.10.0' with the flags.