Skip to content

An implementation of the *.metrics.k8s.io APIs using Prometheus

License

Notifications You must be signed in to change notification settings

s-urbaniak/prometheus-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus Adapter for Kubernetes Metrics APIs

This repository contains an implementation of the Kubernetes resource metrics, custom metrics, and external metrics API.

This adapter is therefore suitable for use with the autoscaling/v2 Horizontal Pod Autoscaler in Kubernetes 1.14+. It can also replace the metrics server on clusters that already run Prometheus and collect the appropriate metrics.

Go Report Card Build Status

FAQ

Bumping k8s dependencies

  1. Bump the corresponding versions in go.mod
$ cat go.mod
...
replace (
	k8s.io/apimachinery kubernetes-1.14.2
	k8s.io/client-go v11.0.0
)
...
  1. Execute:
$ go mod vendor

About

An implementation of the *.metrics.k8s.io APIs using Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages