Skip to content

New to Thanos. Questions about PVC of thanos components and S3 storage #6000

Discussion options

You must be logged in to vote

Do thanos-query need a PVC?

No.

What is the use of the PVC for thanos-compact and thanos-store?

Thanos compact uses PVC to cache block metadata and compact/downsample blocks.

Thanos store uses PVC to cache block metadata and index headers.

When is the data stored in S3 storage?

Thanos sidecar uploads to S3 whenever a new block is created.

Just now I reduce the Prometheus retention period from 5d to 1d, then I lost the old metrics.
How to copy existing data in Prometheus PVC to S3 immediately?

So if you made the retention change already, then I think Prometheus already deleted the data older than 1d.
To upload all blocks you can enable thanos sidecar to copy compacted blocks to S3 …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kappa-wingman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants