179 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
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
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
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
e43a62814d
*: Upgrade to Thanos v0.30.1 (#293)
* *: Upgrade to Thanos v0.30.1

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

* Add changelog entry

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

* Bump to Thanos v0.30.2

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

* Add updated all.jsonnet file

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:54:02 +05:30
Giedrius Statkevičius
c5c9cd256c
*: use 0.29.0 (#288)
Move to the new version.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
2022-11-03 16:20:34 +01:00
Ben Ye
969261408c update version to v0.28.1 and regenerate
Signed-off-by: Ben Ye <benye@amazon.com>
2022-10-16 20:47:42 -07: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
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
Dreampuf
f1928b820c
Add annotation support for serviceaccount (#271) 2022-07-18 12:38:04 +02:00
SUN Haoyu
86a9d83c02
cut release v0.26.0 (#275)
Signed-off-by: Haoyu Sun <hasun@redhat.com>
2022-06-15 16:37:15 +01: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
eff77b7048 Ran make --always-make vendor generate validate
Signed-off-by: Andreas Dreyer Hysing <andreashysing@gmail.com>
2022-02-10 08:37:18 +01:00
Saswata Mukherjee
002c8a8c0b Support stateless Ruler
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2022-02-08 10:03:36 +05:30
Prashant Balachandran
55d79c62ff
fixing the build by generating files (#262) 2022-01-19 12:19:39 +01:00
Prashant Balachandran
7e8fc8c8b3
cut release v0.24.0 (#258)
Signed-off-by: Prashant Balachandran <pnair@redhat.com>
2022-01-13 16:29:22 +01:00
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
Philip Gough
5752646d6a
examples: Update minio command to fix crash looping (#257)
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
2022-01-05 15:12:18 +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
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
Maxime Brunet
f89c45121e
example: Fix missing common resources for (compact|store)-shards/receive-hashrings (#234)
* (compact|store)-shards/receive-hashrings: Hide non-resource fields

Signed-off-by: Maxime Brunet <maxime.brunet@paytm.com>

* Filter out keys instead of hiding them

Signed-off-by: Maxime Brunet <maxime.brunet@paytm.com>
2021-09-15 08:13:21 +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
Damien Grisonnet
733d66c150 Cut release v0.22.0
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-17 14:31:55 +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
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
Damien Grisonnet
21ebb8f84c Cut release 0.19.0
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-04-19 20:00:41 +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
Caleb Tenberge
dc4c1cdd76 fixed typo in placeholder variable
Signed-off-by: Caleb Tenberge <ctenberge@phishlabs.com>
2021-03-26 14:22:28 -04: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
clyang82
9fb14c20f9 Make securityContext configurable
Signed-off-by: clyang82 <chuyang@redhat.com>
2021-03-17 15:20:12 +08:00
Simon Rüegg
01660682b9
Configure bucket web refresh
Signed-off-by: Simon Rüegg <simon@rueggs.ch>
2021-03-12 17:20:15 +01:00
Simon Rüegg
ea44da1191
Configure bucket web label
Signed-off-by: Simon Rüegg <simon@rueggs.ch>
2021-03-12 17:19:12 +01:00
Maxime Brunet
b8ecba635d
ci: Validate custom resources
* Add ServiceMonitor schema
* Remove --ignore-missing-schemas
* Force color output
* Validate against up-to-date Kubernetes schema
* Fix Sidecar ServiceMonitor

Signed-off-by: Maxime Brunet <maxime.brunet@paytm.com>
2021-03-06 18:40:59 -08:00
Kemal Akkoyun
151aa68f18
Merge pull request #192 from PaytmLabs/feature/thanos-sidecar-sd
sidecar: Add pod discovery
2021-03-06 16:45:57 +01:00
Frederic Branczyk
bb1256ddda
jsonnet/kube-thanos: Ignore individual ServiceMonitor with catch-all
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2021-03-06 15:42:32 +01:00
Frederic Branczyk
52bdc2db5e
*: Re-generate
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2021-03-06 11:14:48 +01:00
Maxime Brunet
59df39fa58
*: Set fsGroup when running as non-root
This is required to make the AWS WebIdentity token file readable for example.

Reference:
https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html#pod-configuration

Signed-off-by: Maxime Brunet <maxime.brunet@paytm.com>
2021-03-05 16:38:36 -08:00
Maxime Brunet
ffe2bcf315
sidecar: Add pod discovery
Signed-off-by: Maxime Brunet <maxime.brunet@paytm.com>
2021-03-05 16:18:56 -08:00
Frederic Branczyk
f72eaf36a1
Merge pull request #200 from brancz/non-root
*: Run all as non-root
2021-03-05 10:16:53 +01:00
Frederic Branczyk
7bd82122b4
Merge pull request #198 from kakkoyun/hashring_sms
receive: Add a single service monitor for hashring
2021-03-05 10:16:13 +01:00