mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Include a fix to the NodeMetrics and PodMetrics APIs to match k8s conventions. - NodeMetrics and PodMetrics now have labels as they can be filtered by them - Field selector is now applied to NodeMetrics and PodMetrics instead of Nodes and Pods Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
30 lines
1.1 KiB
Modula-2
30 lines
1.1 KiB
Modula-2
module github.com/directxman12/k8s-prometheus-adapter
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/NYTimes/gziphandler v1.0.1 // indirect
|
|
github.com/go-openapi/spec v0.19.8
|
|
github.com/imdario/mergo v0.3.8 // indirect
|
|
github.com/kubernetes-sigs/custom-metrics-apiserver v0.0.0-20201110135240-8c12d6d92362
|
|
github.com/onsi/ginkgo v1.11.0
|
|
github.com/onsi/gomega v1.7.0
|
|
github.com/prometheus/client_golang v1.7.1
|
|
github.com/prometheus/common v0.10.0
|
|
github.com/spf13/cobra v1.0.0
|
|
github.com/stretchr/testify v1.6.1
|
|
gopkg.in/yaml.v2 v2.2.8
|
|
k8s.io/api v0.19.3
|
|
k8s.io/apimachinery v0.19.3
|
|
k8s.io/apiserver v0.19.3
|
|
k8s.io/client-go v0.19.3
|
|
k8s.io/component-base v0.19.3
|
|
k8s.io/klog/v2 v2.3.0
|
|
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6
|
|
k8s.io/metrics v0.19.3
|
|
k8s.io/sample-apiserver v0.18.5
|
|
sigs.k8s.io/metrics-server v0.4.1-0.20201126131427-ebfc64a74ae4
|
|
)
|
|
|
|
// forced by the inclusion of sigs.k8s.io/metrics-server's use of this in their go.mod
|
|
replace k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1 => ./localvendor/k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
|