Thanos 0.20: Highly Available Prometheus

Thanos 0.20: Highly Available Prometheus

Introduction

Thanos 0.20 — Highly Available Prometheus — was released on November 2, 2021.

In Kubernetes, the hard part isn’t collecting data — it’s turning traces, metrics, and logs into something you can act on quickly.

In this release: Thanos 0.20 enhances highly available Prometheus deployments with improved query performance, better storage integration, and enhanced multi-cluster support for large-scale observability.


Query Performance Improvements

  • Query engine optimizations reduce latency for queries across large time ranges.
  • Caching enhancements improve response times for frequently accessed metrics.
  • Parallel querying enables faster aggregation across multiple Prometheus instances.
  • Memory management improvements reduce resource usage during query execution.

Storage Integration

  1. Object storage improvements provide better integration with S3, GCS, and Azure Blob Storage.
  2. Compaction enhancements reduce storage requirements and improve query performance.
  3. Retention policies enable more flexible data lifecycle management.
  4. Backup and restore improvements simplify disaster recovery procedures.

Multi-Cluster Support

  • Global querying enables querying metrics across multiple Kubernetes clusters.
  • Federation improvements simplify aggregating metrics from distributed Prometheus instances.
  • Service discovery enhancements automatically discover Prometheus instances across clusters.
  • Load balancing provides better distribution of query load across instances.

Operational Features

  • Deployment simplifications make it easier to deploy and manage Thanos components.
  • Monitoring expansion includes better metrics for Thanos component health.
  • Documentation improvements provide clearer guides for common scenarios.
  • Community growth demonstrates active development and adoption.

Getting Started

kubectl apply -f https://raw.githubusercontent.com/thanos-io/kube-thanos/main/examples/all/manifests/thanos-querier-deployment.yaml

Summary

AspectDetails
Release DateNovember 2, 2021
Headline FeaturesQuery performance improvements, enhanced storage integration, better multi-cluster support
Why it MattersEnables highly available, long-term Prometheus deployments at enterprise scale

Thanos 0.20 continues to evolve as the standard for highly available Prometheus, providing teams with reliable, scalable observability for Kubernetes clusters.