Commit graph

260 commits

Author SHA1 Message Date
Sergiusz Urbaniak
12d1fb4a72
Merge pull request #362 from dgrisonnet/fix-auth-webhook-panic
Fix authorizer webhook panic
2021-01-22 10:28:16 +01:00
Damien Grisonnet
78eec11706 vendor: revendor
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-01-21 17:40:42 +01:00
Damien Grisonnet
61a30408f6 go.mod: bump apiserver to fix auth webhook panics
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-01-21 17:39:56 +01:00
Damien Grisonnet
b0423f39ac go.mod: bump kubernetes dependencies to v0.20.2
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-01-21 17:22:19 +01:00
Sergiusz Urbaniak
f604e07020
Merge pull request #359 from dgrisonnet/add-notice
Add NOTICE to comply with the CNCF rules
2021-01-21 16:53:18 +01:00
Damien Grisonnet
48e9f418fa Add NOTICE to comply with the CNCF rules
If (a) contributor(s) have not signed the CLA and could not be reached,
a NOTICE file should be added referencing section 7 of the CLA with a
list of the developers who could not be reached.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-01-18 10:09:16 +01:00
Sergiusz Urbaniak
f33fc94229
Merge pull request #348 from dgrisonnet/populate-selector
Populate metric selector for custom metrics
2020-12-15 15:54:52 +01:00
Sergiusz Urbaniak
aa77eca551
Merge pull request #352 from s-urbaniak/bump-1.20
bump to k8s 1.20, go 1.15
2020-12-14 13:26:04 +01:00
Sergiusz Urbaniak
96cdc4d143 Makefile: bump to Go 1.15 2020-12-14 12:54:22 +01:00
Sergiusz Urbaniak
147b5c8858
pkg/api/generated: regenerate 2020-12-14 12:43:59 +01:00
Sergiusz Urbaniak
9f0440be0f
vendor: revendor 2020-12-14 12:43:28 +01:00
Sergiusz Urbaniak
269295a414
go.mod: bump to k8s 1.20 2020-12-14 12:43:07 +01:00
Damien Grisonnet
76020f6618 pkg/custom-provider: populate metric selector
When querying custom-metrics, the metric label selectors weren't
populated in the resulting values.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2020-12-10 16:14:22 +01:00
Sergiusz Urbaniak
be35274475
Merge pull request #344 from dgrisonnet/bump-metrics-server
Make NodeMetrics and PodMetrics APIs match K8s conventions
2020-12-03 14:37:19 +01:00
Damien Grisonnet
6d8a82f423 go.mod: bump metrics-server
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>
2020-12-02 18:28:56 +01:00
Sergiusz Urbaniak
e0ddb886a7
Merge pull request #334 from Ladicle/update-installation
Update helm charts repository in README
2020-11-11 09:24:52 +01:00
Sergiusz Urbaniak
e16510e3e6
Merge pull request #335 from johanneswuerbach/fix-openapi
Fix openapi
2020-11-10 17:54:26 +01:00
Johannes Würbach
4d0d0f3a38
update custom-metrics-apiserver 2020-11-10 16:07:17 +01:00
Johannes Würbach
b09c680295
ensure openapi is up-to-date and use same kube-openapi version 2020-11-10 16:07:17 +01:00
Johannes Würbach
95df8b43dd
vendor kube-openapi 2020-11-09 15:16:51 +01:00
Aya Igarashi
b88f59a02f Update helm charts repository in README 2020-11-06 11:49:55 +09:00
Sergiusz Urbaniak
87c429b5c6
Merge pull request #330 from joelsmith/master
Populate both CPU and Memory resource container metrics if one is specified
2020-10-30 07:30:26 +01:00
Sergiusz Urbaniak
82450eb6ec
Merge pull request #328 from s-urbaniak/bump-klog
bump to klog/v2
2020-10-28 17:32:39 +01:00
Sergiusz Urbaniak
69569bf7ab pkg/client: refactor to klog/v2 api 2020-10-28 15:57:23 +01:00
Sergiusz Urbaniak
523aa52367 vendor: revendor metrics-server, custom-metrics-apiserver 2020-10-28 15:52:52 +01:00
Sergiusz Urbaniak
752ce84723 cmd/*,pkg/*,docs,go.mod: bump custom-metrics-apiserver, metrics-server 2020-10-28 15:52:12 +01:00
Sergiusz Urbaniak
6b412c4a36 vendor: revendor k8s.io/klog 2020-10-28 15:48:39 +01:00
Sergiusz Urbaniak
a858d53495 pkg/*,cmd/*: move to k8s.io/klog/v2 2020-10-28 15:48:05 +01:00
Joel Smith
bdc8b487ba Populate both CPU and Memory resource container metrics if one is specified 2020-10-27 19:39:13 -06:00
Sergiusz Urbaniak
b9e5a71d72
Merge pull request #317 from johanneswuerbach/openapi
Serve openapi spec
2020-10-26 09:54:37 +01:00
Johannes Würbach
7a1bdecc98
Re-vendor 2020-10-23 11:06:42 +02:00
Johannes Würbach
1d44cbbbb8
Serve openapi spec 2020-10-23 11:06:41 +02:00
Johannes Würbach
47a5ed8047
Adjustments after metrics-server update 2020-10-23 11:06:40 +02:00
Johannes Würbach
b480e45a67
Update custom-metrics-apiserver and metrics-server 2020-10-23 10:57:16 +02:00
Sergiusz Urbaniak
4c673534f2
Merge pull request #314 from s-urbaniak/k8s-templates
*: add Kubernetes templates
2020-09-18 08:22:12 +02:00
Sergiusz Urbaniak
7d16598ef4
add Kubernetes templates 2020-09-18 08:18:27 +02:00
Sergiusz Urbaniak
2678f90c5e
Merge pull request #230 from weibeld/master
Set --metrics-max-age default value equal to relist interval
2020-09-04 10:02:56 +02:00
Sergiusz Urbaniak
9c7743822c
Merge pull request #290 from nirrozenbaum/master
fix forbidden issue #274 by adding appropriate verbs in cluster role
2020-09-04 09:57:30 +02:00
Sergiusz Urbaniak
c45a40bec0
Merge pull request #308 from Ladicle/handle-nan
Fix NaN not to be cast to int64
2020-09-04 09:27:59 +02:00
Sergiusz Urbaniak
f5a0de3b44
Merge pull request #302 from cbroglie/external-metrics
Demonstrate how to use external metrics
2020-09-04 09:22:27 +02:00
Aya Igarashi
5a6322b4ce Fix NaN not to be cast to int64 2020-08-11 20:49:27 +09:00
Christopher Broglie
936bda2ef0 Demonstrate how to use external metrics 2020-07-17 01:47:05 -07:00
Nir Rozenbaum
26e4d23789 fix forbidden issue by adding appropriate verbs in cluster role
https://github.com/DirectXMan12/k8s-prometheus-adapter/issues/274#issuecomment-602282471
2020-05-14 08:25:01 -04:00
Sergiusz Urbaniak
4b5788e847
Merge pull request #286 from johanneswuerbach/macos-build
Use build args to fix building on macos
2020-04-20 09:54:54 +02:00
Johannes Würbach
d6b587d52b
Use build args to fix building on macos 2020-04-15 13:51:44 +02:00
Sergiusz Urbaniak
6e05ab938e
Merge pull request #284 from smarterclayton/hack_vendor_upstream
*: Update to sigs.k8s.io/metrics-server latest
2020-04-15 09:56:31 +02:00
Clayton Coleman
4ca64b85f0
vendor: Update vendor logic 2020-04-08 14:34:43 -04:00
Clayton Coleman
c6ac5cbc87
*: Update to sigs.k8s.io/metrics-server latest
Pick up changes to 1.17 to custom-metrics-apiserver and the latest
changes in metrics-server to allow us to show table results for
podmetrics and nodemetrics. Fix import and interface changes as
necessary.

The localvendor directory is an artifact of a change in sigs.k8s.io:

sigs.k8s.io/metrics-server now requires this dependency in order to
resolve, even though we do not use the scraper package.

go: sigs.k8s.io/metrics-server@v0.3.7 requires
    k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1@v0.0.0: reading k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1/pkg/kubelet/apis/stats/v1alpha1/go.mod at revision pkg/kubelet/apis/stats/v1alpha1/v0.0.0: unknown revision pkg/kubelet/apis/stats/v1alpha1/v0.0.0
2020-04-08 11:47:25 -04:00
Sergiusz Urbaniak
be9797dc49
Merge pull request #269 from s-urbaniak/go113
Makefile, go.mod: bump to 1.13
2020-02-13 12:12:19 +01:00
Sergiusz Urbaniak
cd12d4a020 Makefile, go.mod: bump to 1.13 2020-02-13 12:08:03 +01:00