New to Thanos. Questions about PVC of thanos components and S3 storage #6000
-
Hello, I am new to Thanos. Now I added Thanos (compact, store and query only) to the jsonnet template.
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No.
Thanos compact uses PVC to cache block metadata and compact/downsample blocks. Thanos store uses PVC to cache block metadata and index headers.
Thanos sidecar uploads to S3 whenever a new block is created.
So if you made the retention change already, then I think Prometheus already deleted the data older than 1d. |
Beta Was this translation helpful? Give feedback.
-
I face another problem. How to enable '--shipper.upload-compacted'? I am using the jsonnet (kube-prometheus and kube-thanos). I also checked this issue: prometheus-operator/kube-prometheus#1066 |
Beta Was this translation helpful? Give feedback.
No.
Thanos compact uses PVC to cache block metadata and compact/downsample blocks.
Thanos store uses PVC to cache block metadata and index headers.
Thanos sidecar uploads to S3 whenever a new block is created.
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 …