Deep Dive into Thanos-Part II
Published in
7 min readMay 8, 2021
Monitoring Kubernetes Workloads with Thanos and Prometheus Operator
In Part I of this article we have understood the various components of Thanos and its use cases. In this Part II, we will configure Thanos with GCS ( Google Cloud Storage ) and understand how metrics can be retained for longer periods using Thanos. We will also configure Grafana to use the Thanos Query Frontend to visualize graphs from various clusters ( Thanos Queriers ).
What is the entire story all about? (TLDR)
- Install Thanos using the Bitnami Helm chart.
- Configure Thanos to use GCS as its Object store.
Prerequisites
- A Kubernetes cluster ( Can be either On-Prem, AKS, EKS, GKE, Kind ).
- A GCP account ( To Push the blocks to GCS ).
Story Resources
- GitHub Link: https://github.com/pavan-kumar-99/medium-manifests
- GitHub Branch: thanos
Installing Thanos in the Kubernetes cluster