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
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
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
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
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
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
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
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
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
Lili Cosic
ec481e4f1e
jsonnet/kube-thanos: Update
...
Signed-off-by: Lili Cosic <cosiclili@gmail.com>
2020-04-15 18:32:27 +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
Matthias Loibl
c5ce23d1c6
Use tc.config.replicas variable in compact component.
...
While we shouldn't run multiple compactors at once, we still might want
to run 1 or 0 replicas.
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2020-04-07 18:04:27 +02:00
Kemal Akkoyun
00fe1af480
compactor, store gw: Add deduplication replica label flags and delete delay flags ( #105 )
...
* Add deduplication replica label flags
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
* Add delete delay flags
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
* Update Changelog
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2020-03-24 17:01:58 +01: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
42f10c581f
kube-thanos: PDB change from minAvailable to maxUnavailable ( #94 )
...
This change makes it easier to calculate the maxUnavailable as it only
relies on the replication factor as an input variable instead of
replication factor and replicas.
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-10 13:46:30 +01:00
Frederic Branczyk
ce4b692b61
kube-thanos: Allow PodDisruptionBudget minAvailable to be overridden
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-10 13:15:46 +01: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
3181d1540c
jsonnet: Append hashring configmap mount rather than replacing
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
2020-02-07 17:58:12 +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