You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tempo_compactor_container from config.libsonnet is overwritten by tempo_compactor_container from compactor.libsonnet
It's not a big deal and one can easily set those in ones tanka environment but it's confusing because when looking only at config.libsonnet I'd expect those resource constraints to be present in PodSpecs.
I'm using compactor as an example because it's spiky resource consuption caused some throttling on my VMs without those requests and limits but this is true for all Tempo components.
Describe the bug
Because of import ordering in
tempo.libsonnet
resouce requirements and limits inconfig.libsonnet
are ignored.config.libsonnet
defines resource limits and requirements operations/jsonnet/microservices/config.libsonnet#L59tempo.libsonnet
importsconfig.libsonnet
before all other relevant modules operations/jsonnet/microservices/tempo.libsonnet#L4tempo_compactor_container
from config.libsonnet is overwritten bytempo_compactor_container
fromcompactor.libsonnet
It's not a big deal and one can easily set those in ones tanka environment but it's confusing because when looking only at config.libsonnet I'd expect those resource constraints to be present in PodSpecs.
I'd suggest changing
config.libsonnet
toAnd then handle that in
compactor.libsonnet
I'm using compactor as an example because it's spiky resource consuption caused some throttling on my VMs without those requests and limits but this is true for all Tempo components.
To Reproduce
Use https://github.com/grafana/tempo/blob/main/operations/jsonnet/microservices/tempo.libsonnet
Expected behavior
Microservices have resource requirements and limits set
Environment:
Additional Context
None
The text was updated successfully, but these errors were encountered: