311 Commits

Author SHA1 Message Date
Matthias Loibl
53d94f57c3
Hardcode anti affinity name as label never changes 2020-10-05 17:28:22 +02:00
Matthias Loibl
fdb0f4e74a
Fix Service targetPort for Query & Store 2020-09-17 15:52:56 +02:00
Matthias Loibl
454a197254
Don't change the container name with the metdata.name
The container name should be fairly stable. If someone really needs to
change them, a overwrite would be appropriate.
2020-09-17 12:46:45 +02:00
Matthias Loibl
f1381f7336
Validate all generated YAML with kubeval
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-09-17 12:46:43 +02:00
Matthias Loibl
41560614ff
Update the README to include extend/overwrite example
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-09-17 12:46:41 +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>
v0.15.0
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
Matthias Loibl
44edee6baf
Merge pull request #144 from yeya24/dont-hardcode-service-port
Specify the downstreamURL port from service port
2020-08-17 11:59:28 +02:00
Ben Ye
86a4fd4bad specify the downstreamURL port from service port rather than a hardcoded value
Signed-off-by: Ben Ye <yb532204897@gmail.com>
2020-08-12 18:55:38 -04: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
Bartlomiej Plotka
683c533e7e
Merge pull request #143 from kakkoyun/loglevel
*: Add log level for all commands
2020-08-11 14:56:48 +01: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
v0.1
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
Matthias Loibl
2b584ca979
Merge pull request #131 from yeya24/bump-bucket-web
Update bucket web to tools bucket web
2020-06-22 17:55:51 +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
6b6e22f00f
Merge pull request #129 from thanos-io/store-anti-affinity
store: Pod anti affinity to distribute stores across nodes
2020-06-05 15:37:41 +02: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
Matthias Loibl
8818368c37
Merge pull request #127 from scottdhowell3/kustomization
Add kustomization to base
2020-06-03 00:05:50 +02:00
Frederic Branczyk
3b7d80d643
Merge pull request #128 from thanos-io/query-timeout
query: Allow configuring query timeout
2020-06-02 15:01:57 +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
Scott Howell
1a04fb21c4
add kustomization to base
Signed-off-by: Scott Howell <scotthowell@payitgov.com>
2020-05-27 14:48:42 -05:00
Lili Cosic
c34e3c4706
jsonnet/thanos-mixin/README.md: Fix dead link (#126)
Signed-off-by: Lili Cosic <cosiclili@gmail.com>
2020-05-25 15:13:29 +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
cb6f37bae4 Omit changes when memcached not specified
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-20 10:17:53 +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
ba175b3d45 Remove unused default value
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-18 10:26:55 +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
99f13d8e50 Update Changelog
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-15 14:36:56 +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
25ff25aa3b Enable to specify different memcached backends for index cache and cache bucket
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-05-15 14:26:39 +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
c85ac95fcd alert.label-drop without quotations mark
Signed-off-by: Gaëtan Ars <gaetan.ars@orange.com>
2020-04-30 17:50:32 +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
1eb49983d4
Merge pull request #119 from thanos-io/zone-spread
receive: Use anti-affinity to spread across zones
2020-04-30 11:43:31 +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
a8b5b71158
Merge pull request #118 from thanos-io/grace-period
receive: Extend shutdown grace period to 900s
2020-04-28 18:55:13 +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
Frederic Branczyk
f38c7465eb
Merge pull request #117 from thanos-io/rm-lock
*: Remove jsonnetfile.lock.json for importable packages
2020-04-28 17:19:06 +02:00
Frederic Branczyk
f3d7dc1e7b
*: Remove jsonnetfile.lock.json for importable packages
When a jsonnetfile.lock.json is present in a dependency `jb` will force
that version to be used, potentially causing conflicts in dependency and
version resolution.

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-04-28 17:16:13 +02:00
Matthias Loibl
5bbb4506d1
Merge pull request #113 from lilic/bump-release
Bump to release v0.12.0
2020-04-16 09:08:01 +02:00