thanos-io / kube-thanos

Kubernetes specific configuration for deploying Thanos.
Apache License 2.0
520 stars 177 forks source link

Add functions to implement Thanos Receive split functionality #244

Closed bill3tt closed 3 years ago

bill3tt commented 3 years ago

This PR implements the Thanos Receive split functionality in kube-thanos.

Changes

Fixes #229

This PR adds a two new helper functions receiveRouter and receiveIngestor to the thanos.libsonnet library to implement the Thanos Receive split functionality.

NB: This was the first time I have properly used Jsonnet - and I had a horrible time. Therefore I've almost certainly broken unwritten rules and are generally holding it wrong. Please help correct anything that is egregiously wrong

Verification

bill3tt commented 3 years ago

Thanks for your speedy review @kakkoyun :raised_hands: I think I've addressed all the comments :)