Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.34 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.34 KB

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