talira

version-checker

Kubernetes utility for exposing image versions in use, compared to latest available upstream, as metrics

open sourceApache-2.0self-hostablefree

version-checker runs inside a Kubernetes cluster and compares the image of each container with the latest version available upstream, and the cluster's Kubernetes version with the latest release on a chosen channel. It exposes the results as Prometheus metrics, with a ready-made Grafana dashboard that lists them as a table, so you can alert on outdated images. By default it checks only containers whose pods carry its annotation, or every container with --test-all-containers; annotations pin major or minor versions, match tags by regex or fall back to the newest SHA. It reads Docker Hub, ACR, ECR, GCR, Quay and self-hosted registries, installs with a Helm chart or static manifests, and is Apache-2.0 from Jetstack.

Ways to install

Problems it solves

  • alert me when the images running in my cluster fall behind their latest upstream versions
  • a Grafana table of every container image in the cluster next to the newest available tag
  • watch our Kubernetes cluster version against the latest stable release
  • know when our EKS or GKE cluster is behind the latest upstream Kubernetes patch
  • track image freshness in Prometheus so outdated workloads show up in our existing alerting
  • only consider images within the same major version when checking for updates
  • check images from ECR, GCR, ACR, Quay and our own registry for newer tags
  • find workloads still on the latest tag or a bare SHA and what the newest image actually is

Features

  • compares running container image versions with the latest upstream versions
  • compares the cluster's Kubernetes version with a release channel (stable, latest, latest-1.x)
  • Prometheus metrics and a Grafana dashboard (ID 12833)
  • annotation opt-in per container, or --test-all-containers for every container
  • annotations to pin major, minor or patch, use pre-release metadata, match a regex, override the lookup URL or resolve SHAs to tags
  • registries: Docker Hub, ACR, ECR, GCR, Quay and self-hosted Docker V2 registries, with authentication
  • Helm chart (with a Prometheus Operator ServiceMonitor) or static manifests

Limitations

  • Doesn't check Helm chart versions: it compares container images and the cluster's Kubernetes version only23
  • Doesn't produce a report of its own: results are Prometheus metrics, shown on a Grafana dashboard or used for alerts2

Alternatives

The same job

These do what version-checker does.

  1. Nova Find outdated or deprecated Helm charts running in your cluster
  2. Diun Receive notifications when an image is updated on a Docker registry
  3. kubectl outdated Kubectl plugin to find and report outdated images running in a Kubernetes cluster
  4. Keel Kubernetes operator that updates deployments and Helm releases when new images are pushed

Compare version-checker with the top 3