90 Commits

Author SHA1 Message Date
Matthias Loibl
fdb0f4e74a
Fix Service targetPort for Query & Store 2020-09-17 15:52:56 +02:00
Matthias Loibl
dd39429d44
Create examples/extend showcasing how to extend / overwrite
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-09-17 12:46:37 +02:00
Matthias Loibl
e4f37ef1d6
Move thanos-query and thanos-store to functions with parameters
Hopefully this will scope the component's features better and going
forward will make it more obvious what each component supports (by
looking at it's default at the top, to check what can be passed to it),
the component will even do some safety checks (using assert) on the
merged configuration it'll use and give back some Kubernetes objects.

If there are some limitations that, after discussing the component
shouldn't support, everybody is still able to merge additional features
on top of the generated objects.

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-09-17 12:46:34 +02:00
Kemal Akkoyun
ef77a1120c
Cut v0.15.0 (#146)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-09-07 13:36:37 +03:00
Kemal Akkoyun
a6a0027a3c
querier: Add lookback delta for querier (#145)
* Add lookback delta for querier

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Add changelog entry

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-09-01 18:43:47 +03:00
Ben Ye
1c19d6ec9f
Add Thanos Query Frontend component (#142)
* add thanos query frontend component

Signed-off-by: Ben Ye <yb532204897@gmail.com>

* add changelog

Signed-off-by: Ben Ye <yb532204897@gmail.com>
2020-08-12 13:47:04 +02:00
Kemal Akkoyun
825acc819a Add log level for all commands
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-08-11 15:51:47 +02:00
Kemal Akkoyun
c0eebc5e66
Cut v0.14.0 (#139) (#140)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-07-31 13:54:13 +02:00
Kemal Akkoyun
757f54ad72
Cut v0.13.0 (#137) (#138)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-07-30 14:56:48 +02:00
Frederic Branczyk
c070408f18
Merge pull request #135 from thanos-io/pod-reference-instance
*: Relabel pod reference into instance label
2020-07-03 15:20:45 +02:00
Frederic Branczyk
369abbd272
receive: Only perform anti affinity against receive pods (#134)
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-07-03 14:22:28 +02:00
Frederic Branczyk
e9824dfa11
*: Relabel pod reference into instance label
The instance label is univesally used to refer to an instance in
alerting rules and dashboards. To make it easy to identify in a
Kubernetes environment it's most useful to relabel an identifier of the
pod into the instance label.

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-07-03 12:34:28 +02:00
yeya24
e7ca31a62c update bucket web to tools bucket web
Signed-off-by: yeya24 <yb532204897@gmail.com>
2020-06-16 17:42:32 -04:00
Frederic Branczyk
cc8676f4cb
store: Pod anti affinity to distribute stores across nodes
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-06-05 15:33:25 +02:00
Frederic Branczyk
62c574f440
query: Allow configuring query timeout
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-06-02 15:00:55 +02:00
Kemal Akkoyun
1810f656c4
Update changed config property (#125)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-25 13:02:41 +02:00
Kemal Akkoyun
057bd06f30
Use consistent backend type (#124)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-20 17:12:07 +02:00
Frederic Branczyk
ad6e086915
Merge pull request #122 from kakkoyun/store_with_caching_bucket
store: Add mixin to enable caching bucket
2020-05-20 10:34:28 +02:00
Kemal Akkoyun
128e08afe2 Use Thanos v0.13.0-rc.0
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-20 10:25:37 +02:00
Kemal Akkoyun
a4d39468b9 Update configuration after recent changes
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-19 09:52:01 +02:00
Kemal Akkoyun
c55438748d Bump version and reflect latest changes
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-18 10:10:59 +02:00
Matthias Loibl
96ae241508
Merge pull request #116 from zenman94/master
No quotation marks on alert.label-drop
2020-05-15 15:12:52 +02:00
Kemal Akkoyun
683835913a Bump version to minimum supported that includes added feature
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-15 14:30:08 +02:00
Kemal Akkoyun
98766ee159 Add store withCachingBucketMemcached mixin
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-15 14:25:28 +02:00
Gaëtan Ars
a32bc7bde4 No quotation marks on alert.label-drop
Signed-off-by: Gaëtan Ars <gaetan.ars@orange.com>
2020-04-30 17:28:16 +02:00
Frederic Branczyk
10eb55f796
receive: Use anti-affinity to spread across zones
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-04-29 18:40:42 +02:00
Frederic Branczyk
490c6c6f8e
receive: Extend shutdown grace period to 900s
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-04-28 17:27:10 +02:00
Lili Cosic
95f2d88f84 Update version to v0.12.0
Signed-off-by: Lili Cosic <cosiclili@gmail.com>
2020-04-15 18:32:31 +02:00
Kemal Akkoyun
bc2e452592
Add Thanos Store memcached mixin (#106)
* Add thanos store memcached mixin

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Upgrade Thanos, update changed flags

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Increase dns update interval

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Fix styling

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Use default values in Thanos

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Address review issues

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Fix indentation

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-04-08 20:25:24 +02:00
Kemal Akkoyun
39dc963d7b Bump version
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-04-08 12:04:02 +02:00
Kemal Akkoyun
eeacdad6bc
Merge Release v0.11.0 (#111) 2020-04-08 12:01:44 +02:00
Kemal Akkoyun
fccd3f5070 Add termination message policy to containers
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-02-20 11:36:04 +01:00
Frederic Branczyk
fb489c3614
store: Enable binary index header feature
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-14 10:40:27 +01:00
Frederic Branczyk
01ef16426d
Adapt receive local endpoint to gRPC based endpoint
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-13 16:54:39 +01:00
Frederic Branczyk
c05e38acad
Revert "store: Enable binary index header"
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-13 15:11:32 +01:00
Frederic Branczyk
cf9f7360ae
store: Enable binary index header
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-13 14:02:36 +01:00
Frederic Branczyk
b9cff03a26
kube-thanos: Filter emptyDir instead of resetting volumes with PVC
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-11 11:11:26 +01:00
Viva La Vida
0e527cf0c9 jsonnet: fix bucket port
Bucket web listen on 0.0.0.0:10902 by default. Change bucket port from 8080 to 10902

Signed-off-by: wujie1993 <qq594jj@gmail.com>
2020-02-10 22:09:46 +08:00
Frederic Branczyk
55fad9cbc2 jsonnet/kube-thanos: Add app labels to volumeClaimTemplates (#92)
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-10 10:09:07 +01:00
Frederic Branczyk
445dac1fce
jsonnet/kube-thanos: Adhere to kube app label definitions
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-06 14:33:14 +01:00
Frederic Branczyk
ded5e9aa71
*: Refactor to not mutate global objects
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-05 16:54:51 +01:00
Matthias Loibl
b193461f0c
Remove resource requests and limits
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-01-28 16:38:52 +01:00
Kemal Akkoyun
b6a6a410c5
Check probes more frequently within the same amount of total time (#86)
* Check probes more frequently within same amount of total time

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Generate examples

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>

* Remove initial readiness wait and incrase liveness for the components in statefulset

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-01-17 15:56:30 +01:00
Matthias Loibl
0c90793e46
Merge pull request #84 from metalmatze/anti-affinity
Add host anti-affinity to receive and querier
2020-01-07 16:19:20 +01:00
Matthias Loibl
4da1b2ee6b
Add host anti-affinity to receive and querier
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-01-07 16:07:39 +01:00
Matthias Loibl
82ebf3ce13
Deduplicate ruler_replica when using Thanos Ruler
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-01-07 15:24:53 +01:00
Kemal Akkoyun
1c5b1b5d8c Fix service discovery query
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2019-12-19 17:25:20 +01:00
Kemal Akkoyun
ef67c8c717
Convert thanos ruler service headless for discovery (#78)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2019-12-17 17:33:36 +01:00
Kemal Akkoyun
c37db799dc
Rename rule -> ruler (#77)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2019-12-17 13:49:08 +01:00
Kemal Akkoyun
3ba4662b0d Revert #63
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2019-12-16 14:19:17 +01:00