What existing libraries are there for implementing Kubernetes liveness and readiness probes?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • healthcheck

    Discontinued A library for implementing Kubernetes liveness and readiness probe handlers in your Go application. (by vmware-archive)

  • So far, I've been using the library: https://github.com/vmware-archive/healthcheck https://github.com/vmware-archive/healthcheck

  • libhealth

    flexible Golang healthchecking components

  • Theres also: https://github.com/indeedeng/libhealth

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • opentelemetry-python

    OpenTelemetry Python API and SDK

  • Unfortunately, I have not seen any modern libraries that can match the features offered by the archived library. However, there are similar libraries that could be used, such as https://github.com/open-telemetry/opentelemetry-python which provides health checks and metrics. Additionally, you could use Prometheus libraries such as https://github.com/prometheus/client\_python to get similar metrics. However, both of these libraries might require some modification to get the desired features

  • seaworthy

    A CLI to verify Kubernetes resource health

  • Not exactly what you are asking for, but I thought it still might be relevant to whoever stops by. I started a health checking CLI awhile back, still in prototype phase. The idea is to provide the same functionality that ArgoCD and Spinnaker do regarding identifying of a resource is "healthy". https://github.com/cakehappens/seaworthy

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts