Automatically set GOMEMLIMIT for collector, TA, bridge, etc. #2919
Closed
Description
Component(s)
collector, target allocator, opamp
Is your feature request related to a problem? Please describe.
It would be awesome if we could automatically set the GOMEMLIMIT for the collector (and TA/Bridge too) when a user sets a limit on the k8s deployment.
Describe the solution you'd like
when we create the deployment/sts/daemon we could read the resource limit and if present set GOMEMLIMIT to 80% of that per the recommendation here
Describe alternatives you've considered
No response
Additional context
No response