Skip to content

Prometheus exporter to list container images on your k8s cluster

License

Notifications You must be signed in to change notification settings

shikloshi/kubernetes-images-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-images-exporter

This tool allows exporting current images running inside our kubernetes cluster and be collected by Prometheus.

This tool also logs when Pod is created or deleted and can be combined using shippers (like fluentbit) to send events into Elasitcsearch cluster or something similar.

Deployment

deploy/ folder containes basic helm chart you can use to install on your cluster.

helm3 install kubernetes-images-exporter ./deploy

RBAC

kubernetes-images-exporter should be allowed to read,list,watch all pod resources from core API group.

You can bind kubernetes-images-exporter ServicAccount to view ClusterRole.

Running

Example

deployed_images{digest="",namespace="default",pod="prometheus-operator-prometheus-node-exporter-mfvvw",repo="quay.io/prometheus/node-exporter",tag="v0.18.1"} 1
deployed_images{digest="",namespace="default",pod="prometheus-prometheus-operator-prometheus-0",repo="quay.io/coreos/configmap-reload",tag="v0.0.1"} 1
deployed_images{digest="",namespace="default",pod="prometheus-prometheus-operator-prometheus-0",repo="quay.io/coreos/prometheus-config-reloader",tag="v0.35.0"} 1
deployed_images{digest="",namespace="default",pod="prometheus-prometheus-operator-prometheus-0",repo="quay.io/prometheus/prometheus",tag="v2.15.2"} 1

Configuration

TBD

About

Prometheus exporter to list container images on your k8s cluster

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published