290 Commits

Author SHA1 Message Date
Matthias Loibl
469e7ca3d1
Add per container SecurityContext
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2023-10-25 12:54:20 +02:00
Philip Gough
ac261330bb
Add Pod anti-affinity to Thanos Rule (#310)
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
2023-07-11 20:40:05 +05:30
Thibault Mange
4c734188ca
update receive store limits type to string (#309)
Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>
2023-07-05 19:31:00 +05:30
Thibault Mange
650a08bb33
receive: add store limits flags (#308)
* add store limits flags

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* update changelog

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

---------

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>
2023-07-05 18:57:08 +05:30
Vibhu Prashar
dfc278d1a1
Add support for missing objectstorage secret for thanos store (#307)
* Add support for missing objectstorage secret for thanos store

Signed-off-by: Vibhu Prashar <vibhu.sharma2929@gmail.com>

* Add review comments

Signed-off-by: Vibhu Prashar <vibhu.sharma2929@gmail.com>

---------

Signed-off-by: Vibhu Prashar <vibhu.sharma2929@gmail.com>
2023-06-27 15:39:39 +05:30
Thibault Mange
04c9e46115
receive: allow configuration of limits-config-file (#305)
* add receive limits config file flag

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* update changelog

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* make fmt

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

---------

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>
2023-06-01 17:03:11 +05:30
Philip Gough
4ab42ad96e
receive: Expose minReadySeconds as config (#301)
* receive: Expose minReadySeconds as config

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* docs: Add changelog for minReadySeconds to receiver sts

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

---------

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
2023-05-03 16:25:08 +05:30
Jacob Baungård Hansen
3291d85cc8
Query: Allow configuring telemetry.request options (#299)
With this commit we allow configuring the following Thanos query
options:
- query.telemetry.request-duration-seconds-quantiles
- query.telemetry.request-samples-quantiles
- query.telemetry.request-series-seconds-quantiles

Note that the jsonnet variable expects a comma seperated list, which
will be expanded to the format required by Thanos. As an example the
following jsonnet configuration:

```
telemetryDurationQuantiles: '1, 2, 3',
telemetrySamplesQuantiles: '100,1000,10000,100000',
telemetrySeriesQuantiles: '10,100,1000,10000',
```

Will result in the following command line arguments to Thanos

```
--query.telemetry.request-duration-seconds-quantiles=1
--query.telemetry.request-duration-seconds-quantiles=2
--query.telemetry.request-duration-seconds-quantiles=3
--query.telemetry.request-samples-quantiles=100
--query.telemetry.request-samples-quantiles=1000
--query.telemetry.request-samples-quantiles=10000
--query.telemetry.request-samples-quantiles=100000
--query.telemetry.request-series-seconds-quantiles=10
--query.telemetry.request-series-seconds-quantiles=100
--query.telemetry.request-series-seconds-quantiles=1000
--query.telemetry.request-series-seconds-quantiles=10000
```

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
2023-04-24 16:57:57 +05:30
Fran
74a2e3de83
query: Add support for ArgoCD: Define replace action in servicemonitor (#296)
* query: Add support for ArgoCD: Define replace action in servicemonitor relabeling

Signed-off-by: Fran Sanjuán <francesc.sanjuan@marfeel.com>

* Add modified YAML

Signed-off-by: Fran Sanjuán <francesc.sanjuan@marfeel.com>

* query: Add support for ArgoCD: Define replace action in servicemonitors

Signed-off-by: Fran Sanjuán <francesc.sanjuan@marfeel.com>

* Add missing templates

Signed-off-by: Fran Sanjuán <francesc.sanjuan@marfeel.com>

---------

Signed-off-by: Fran Sanjuán <francesc.sanjuan@marfeel.com>
2023-04-11 12:41:08 +05:30
Vibhu Prashar
deef788f8f
Add support for endpoint flag in querier (#297)
Signed-off-by: Vibhu Prashar <vprashar@redhat.com>
2023-04-02 10:21:00 +05:30
Jacob Baungård Hansen
634606784e
Use kubernetes.io/os instead of beta version (#298)
`beta.kubernetes.io/os` has been deprecated since v1.14. Use the
non-beta version instead.

Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
2023-03-30 16:07:25 +02:00
Douglas Camata
d2cac7b14a
Store: allow configuration of series, series sample, and downloaded bytes limits (#292)
* Thanos Store: allow configuration of series touched limit

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

* Store: fix limit validation issues

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

* Update the changelog

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

* Add support for all the new store limits

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

* Update changelog

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

* Assert that limits config is an object

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

* Rerun CI

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>

---------

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
2023-02-03 10:58:09 +05:30
Ben Ye
5c8b734dd1
Merge pull request #286 from douglascamata/store-livenes-probe-config
Store: make the liveness probe timeout configurable
2022-10-11 09:37:06 -07:00
Douglas Camata
449e423dc6 Make Store liveness probe more configurable
Adds configuration for failure threshold and period seconds.

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
2022-10-11 12:04:58 +02:00
Douglas Camata
5fa86178a6 Make the Store liveness probe timeout configurable
Under heavy load, the 1s default timeout for the Store liveness probe
can be often triggered, which leads to Store restarts.

The default value is 1s, to keep the current behavior, and in affected
environments one can increase it.

Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
2022-10-10 16:44:43 +02:00
Saswata Mukherjee
3f2c658934 Add option for enabling new PromQL engine in querier
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2022-10-10 13:54:56 +05:30
Saswata Mukherjee
826595f0cc
Change Receive PDB to policy/v1 (#284)
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2022-08-30 11:08:00 +02:00
Michael Burt
a3f005e4f9
generate ServiceMonitor for Receive ingestors according to config (#280)
Signed-off-by: Michael Burt <michaelpburt@gmail.com>
2022-07-19 17:10:48 +02:00
Michael Burt
56fed32321
add common labels to receive router (#282)
Signed-off-by: Michael Burt <michaelpburt@gmail.com>
2022-07-19 08:50:20 +02:00
Dreampuf
f1928b820c
Add annotation support for serviceaccount (#271) 2022-07-18 12:38:04 +02:00
Michael Burt
5d3901b773
change hashringConfigmapName to hashringConfigMapName (#279)
Signed-off-by: Michael Burt <michaelpburt@gmail.com>
2022-07-15 09:46:04 +02:00
Bartlomiej Plotka
fd637a4f73
Added deprecated rules field in order to fix prod issue. (#273)
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2022-07-12 08:07:07 +02:00
Ben Ye
6328583a62
Merge pull request #265 from ahysing/concurrent-thanos-compact
Added multithreading support to thanos compact
2022-02-09 23:48:17 -08:00
Andreas Dreyer Hysing
9643bb84d8 Added required comma to list
Signed-off-by: Andreas Dreyer Hysing <andreashysing@gmail.com>
2022-02-09 22:00:58 +01:00
Andreas Dreyer Hysing
809da52163 Passing arguments --compact.concurrency and --downsample.concurrency to thanos compact
Signed-off-by: Andreas Dreyer Hysing <andreashysing@gmail.com>
2022-02-09 20:08:00 +01:00
Saswata Mukherjee
002c8a8c0b Support stateless Ruler
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2022-02-08 10:03:36 +05:30
morvencao
1236eaf0aa support imagepullpolicy.
Signed-off-by: morvencao <lcao@redhat.com>
2022-01-12 07:33:28 +00:00
Chunlin Yang
c8a244f82a
Support custom certificate for the object store (#260)
* Support custom certificate for the object store

Signed-off-by: clyang82 <chuyang@redhat.com>

* Update changelog

Signed-off-by: clyang82 <chuyang@redhat.com>

* fix rebase issue

Signed-off-by: clyang82 <chuyang@redhat.com>
2022-01-05 15:15:57 +01:00
Morven Cao
19e913d56e
support alertmanager configuration and extra volumes for thanos ruler. (#225)
* support alertmanager configuration and extra volumes for thanos ruler.

Signed-off-by: morvencao <lcao@redhat.com>

* add test alerting configuration.

Signed-off-by: morvencao <lcao@redhat.com>
2022-01-05 13:12:48 +01:00
marcolan018
ce03c44251 make tenant-header of receiver configurable
Signed-off-by: Marco llan@redhat.com

Signed-off-by: marcolan018 <llan@redhat.com>
2021-11-19 14:59:09 -06:00
Ben Ye
8c8b810ae0 make receiver cluster domain name configurable
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
2021-10-03 20:35:25 -07:00
Michal Wasilewski
536eaa8c99
fix array concatenation broken due to an extra level of composition
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-09-27 17:54:58 +02:00
Michal Wasilewski
29f0836c46
add extraEnv config option to all components in kube-thanos
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-09-27 17:16:47 +02:00
Michal Wasilewski
00a6a01dc5
formatting in thanos-store
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-09-27 16:59:02 +02:00
Steve Hipwell
1fe5b3bda1
compact: Make service headless (#247)
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2021-09-20 11:14:27 +02:00
Philip Gough
24559b52b6
Support scraping config-reloader sidecar for Thanos Ruler (#245)
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
2021-09-15 08:18:17 +02:00
Ian Billett
cfd8d7899c
Add functions to implement Thanos Receive split functionality (#244) 2021-09-01 13:08:38 +02:00
Ben Ye
add27c34e1
add bucket replicate component (#237)
* add bucket replicate component

Signed-off-by: Ben Ye <ben.ye@bytedance.com>

* fix jsonnet fmt

Signed-off-by: Ben Ye <ben.ye@bytedance.com>

* revert minio changes

Signed-off-by: Ben Ye <ben.ye@bytedance.com>
2021-08-24 17:21:57 +02:00
Jayapriya Pai
812e6d6564
jsonnet/manifests/example: Update/generate nodeSelector to kubernetes.io/os instead of beta.kubernetes.io/os (#241)
* jsonnet: Update nodeSelector label to kubernetes.io/os

Signed-off-by: Jayapriya Pai <janantha@redhat.com>

* manifests/examples: regenerate

Signed-off-by: Jayapriya Pai <janantha@redhat.com>
2021-08-24 10:23:34 +02:00
ben.ye
55f2f98c46 add anti affinity configuration
Signed-off-by: ben.ye <ben.ye@bytedance.com>
2021-07-11 19:24:53 -07:00
ben.ye
f9710235ab support compactor shards
Signed-off-by: ben.ye <ben.ye@bytedance.com>
2021-07-01 18:23:51 -07:00
Prem Saraswat
3d63772edf Allow configuring of query.
Signed-off-by: Prem Saraswat <prmsrswt@gmail.com>
2021-06-03 18:27:30 +05:30
Luis Vidal Ernst
7970604bec Only schedule on linux nodes
Signed-off-by: Luis Vidal Ernst <l.vidalernst@traveltrex.com>
2021-05-20 12:13:14 +02:00
Chunlin Yang
a4c5b800c0
Support configure tsdb.retention and tsdb.block-duration for rule (#221)
* Support configure tsdb.retention and tsdb.block-duration for rule

Signed-off-by: clyang82 <chuyang@redhat.com>

* Update changelog

Signed-off-by: clyang82 <chuyang@redhat.com>
2021-04-19 17:04:04 +02:00
Frederic Branczyk
6031f75649
*: Add host ip env var to all containers
This makes configuring tracing much more convenient.

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2021-04-15 14:06:27 +02:00
Simon Rüegg
f7280ea7a9
Enable query auto downsampling
Signed-off-by: Simon Rüegg <simon@rueggs.ch>
2021-04-08 10:21:21 +02:00
Frederic Branczyk
0efc16233e
store: Add min/max time flag configuration
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2021-03-22 09:28:52 +01:00
Kemal Akkoyun
cb03ac9512
Merge pull request #209 from vshn/bucket-web-labels
Bucket Web: Extend configuration for labels and refresh
2021-03-17 17:42:38 +01:00
Frederic Branczyk
2ca480f615
Merge pull request #211 from clyang82/readwriteonce
enforce ReadWriteOnce
2021-03-17 14:11:16 +01:00
clyang82
9fb14c20f9 Make securityContext configurable
Signed-off-by: clyang82 <chuyang@redhat.com>
2021-03-17 15:20:12 +08:00