Closed ahysing closed 2 years ago
Thank you! One small nit, can you please fix the lint issue?
I have a hard time figuring out what that latest crash is all about... Job "build" crashed with exit code 1. I can look into this tomorrow..
@ahysing I guess you need to run generate to regenerate yamls.
Thank you for the contribution! @ahysing
THIS IS WORK IN PROGRESS
Changes
--compact.concurrency
to thanos compact statefulset--downsample.concurrency
to thanos compact statefulsetThis change adds the flag
--compact.concurrency
to the thanos compact StatefulSet. This sets the number of goroutines used during compaction. Set this number to any valueX
greater than one, and thanos compact will be fixed to the given number of threads. this feature requiresX
times more CPU and memory to thanos compact as stated on Resources > Cpu. The default is one goroutine.This change also adds the flag
--downsample.concurrency
to the thanos compact StatefulSet. This sets the number of goroutines used during downsampling. Resources > Flags this flag. The default is to run on one goroutine.Verification
Then built with the regular routines
Added two new flags to example.json downsampleConcurrency: 2, and compactConcurrency: 2 right in line 58:
At the end of the file add a thanos compactor by adding one line
Performed a build with
bash build.sh example.jsonnet
. Inspect the output and verify that the file in /manifests looks OK.Output from tests