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

[kube-prometheus-stack] Thanos Sidecar Uploading Duplicate data to S3 #4484

Closed
mohitmaheshwari31 opened this issue Apr 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mohitmaheshwari31
Copy link

Describe the bug a clear and concise description of what the bug is.

Hi Team,

I have two Prometheus running in the stack and each has sidecar associated with it . I am using thanos sidecar to upload the data to S3 .
Issue : Both the thanos sidecar are uploading the data , due to which duplicate data is being stored in Long Term storage.
I need only one thanos sidecar to upload the data to s3 .
Can someone please suggest how i can fix this?

What's your helm version?

3.10.3

What's your kubectl version?

1.29

Which chart?

kube-prometheus-stack

What's the chart version?

Latest

What happened?

NA

What you expected to happen?

NA

How to reproduce it?

NA

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

NA

Anything else we need to know?

No response

@mohitmaheshwari31 mohitmaheshwari31 added the bug Something isn't working label Apr 24, 2024
@jkroepke
Copy link
Member

The bug you mention is the expected design of Thanos. If you want only want to avoid duplicate data, you have to run Prometheus with replica one.

Thanos is able to deduplicate data using the compactor.

For more thanos related question, reach-out the maintainers directly: https://github.com/thanos-io/thanos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants