Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tempo-distributed] compactor.replicas value interfere with HPA #3476

Open
etiennep opened this issue Dec 10, 2024 · 1 comment
Open

[tempo-distributed] compactor.replicas value interfere with HPA #3476

etiennep opened this issue Dec 10, 2024 · 1 comment

Comments

@etiennep
Copy link

Unlike the distributor, the compactor.replicas setting is always set regardless if autoscaling is enabled. This is problematic because when deploying with ArgoCD, ArgoCD is constantly detecting that the application is out of sync.

A simple fix is to add a conditional to only set the number of replicas in the compactor deployment when autoscaling is disabled.

@mkutlak
Copy link

mkutlak commented Jan 14, 2025

Workaround for Argo application definition:

ignoreDifferences:
  - group: apps
    kind: Deployment
    name: tempo-compactor
    namespace: tempo
    jsonPointers:
      - /spec/replicas

syncPolicy:
  syncOptions:
    - RespectIgnoreDifferences=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants