Commit graph

286 commits

Author SHA1 Message Date
Kubernetes Prow Robot
b67ac3e747
Merge pull request #389 from dgrisonnet/signal-handler
Add signal handler
2021-03-29 08:40:46 -07:00
Damien Grisonnet
9db8d2f731 cmd/adapter: add signal handler
Add a signal handler stopping the adapter if it receives a SIGINT or
SIGTERM signal. This prevent the prometheus-adapter pod from being stuck
in "Terminating" state.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-29 17:24:49 +02:00
Kubernetes Prow Robot
c30c69de09
Merge pull request #387 from dgrisonnet/remove-travis-verify
.travis.yml: remove verify job
2021-03-25 10:15:36 -07:00
Kubernetes Prow Robot
7151cd83b9
Merge pull request #382 from dgrisonnet/test
Makefile: include tests from cmd directory
2021-03-25 10:15:29 -07:00
Kubernetes Prow Robot
c41a99a529
Merge pull request #386 from aackerman/aackerman/fix-metric-labels
Fix documented metrics labels to work for k8s 1.16+
2021-03-23 11:07:36 -07:00
aackerman
0e105eeeb1 Update tests to use container and pod labels instead of container_name and pod_name 2021-03-23 12:41:44 -05:00
aackerman
54cd969594 Fixup default config generation to use pod and container instead of pod_name and container_name, those labels have been removed in kubernetes 1.16 2021-03-23 10:59:40 -05:00
Damien Grisonnet
df347a1427 .travis.yml: remove verify job
The verify job has been moved to prow, so we can remove the one from
travis.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-23 16:52:30 +01:00
aackerman
dce6abfba9 Fix documented metrics labels to work for k8s 1.16+ 2021-03-23 09:01:56 -05:00
Kubernetes Prow Robot
2c1be65011
Merge pull request #384 from lilic/remove-myself
OWNERS: Remove myself from the OWNERS
2021-03-19 08:38:35 -07:00
Lili Cosic
9231ff996d OWNERS: Remove myself from the OWNERS 2021-03-19 16:33:24 +01:00
Kubernetes Prow Robot
976c38aee4
Merge pull request #379 from TheKangaroo/fix/walkthrough
fix walkthrough example
2021-03-10 08:01:14 -08:00
Damien Grisonnet
737c8232e1 Makefile: include tests from cmd directory
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-10 16:53:26 +01:00
Kubernetes Prow Robot
ef33937e43
Merge pull request #377 from dgrisonnet/update-owners
Add dgrisonnet to the OWNERS
2021-03-09 08:05:00 -08:00
Till Adam
3bd8b54ad5
fix walkthrough example
The service created by this command did not match the port name used
later on in the walkthrough. Therefor it is defined explicitly here.
2021-03-05 13:06:40 +01:00
Damien Grisonnet
dcf0ece4ea Add dgrisonnet to the OWNERS
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-02 12:02:26 +01:00
Kubernetes Prow Robot
7e11fe30ee
Merge pull request #372 from paulfantom/json
pkg/config: allow configuration to be read from json schema
2021-03-01 05:22:46 -08:00
Kubernetes Prow Robot
019a27f200
Merge pull request #354 from iyalang/feature/add-cert-auth
add TLS auth for accessing Prometheus
2021-03-01 05:18:42 -08:00
Kubernetes Prow Robot
e087f72404
Merge pull request #319 from kehao95/update-walkthrough
Update Prometheus Operator Doc location
2021-03-01 01:18:39 -08:00
Kubernetes Prow Robot
30f6e2fd07
Merge pull request #374 from paulfantom/imports
*: move all imports to github.com/kubernetes-sigs/prometheus-adapter
2021-02-23 01:22:03 -08:00
Iya Lang
808bd76c5a add TLS auth for accessing Prometheus 2021-02-22 21:39:58 +01:00
paulfantom
cd55a67b89
*: move all imports to github.com/kubernetes-sigs/prometheus-adapter
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-02-22 15:49:03 +01:00
paulfantom
1cc7bed020
pkg/config: allow configuration to be read from json schema 2021-02-22 10:17:27 +01:00
Nikhita Raghunath
dd841a6e5e Fix SECURIY_CONTACTS filename 2021-01-30 11:01:32 +05:30
Nikhita Raghunath
079f67825f Fix OWNERS, OWNERS_ALIASES file names 2021-01-30 10:54:21 +05:30
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