Commit graph

31 commits

Author SHA1 Message Date
Damien Grisonnet
9988fd3e91 *: cut release 0.12.0
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2024-05-16 20:01:59 +02:00
Jason Booth
7ba3c13bb6 Cut release v0.11.2 2023-09-08 13:26:38 -04:00
Damien Grisonnet
a4100f047a Cut release v0.11.1
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-08-24 15:13:50 +02:00
Damien Grisonnet
0a6e74a5b3 *: cut release 0.11.0
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-07-25 14:06:46 +02:00
Damien Grisonnet
8579be6c7b manifests: remove deprecated klog flag
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-06-20 18:39:51 +02:00
Olivier Lemasle
7bdb7f14b9 manifests: use node_ metrics 2023-01-19 12:20:42 +01:00
Joao Marcal
372dfc9d3a
Updates README, docs/walkthrough and deploy/
Signed-off-by: JoaoBraveCoding <jmarcal@redhat.com>
2022-11-08 15:36:35 +00:00
Joao Marcal
3afe2c74bc
Updates deploy/manifest to latest version in sync with kube-prom
Issue https://github.com/kubernetes-sigs/prometheus-adapter/issues/426
2022-09-02 17:16:33 +01:00
Damien Grisonnet
204d5996a4 *: update registry location to registry.k8s.io
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-08-31 14:32:12 +02:00
Damien Grisonnet
e5ad3d8903 deploy: fix image location
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-08-31 14:16:23 +02:00
Grzegorz Głąb
00920756a4
Change apiregistration.k8s.io to v1 2022-03-23 20:48:46 +01:00
Damien Grisonnet
467f24d45c image: default to gcr.io instead of hub.docker.com
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-06-30 19:27:04 +02:00
Damien Grisonnet
03e8eb8ddb Makefile: consolidate docker-build
As part of this commit, I upgraded the golang image used for building to
1.16 and consolidated how the docker-build rule was working. Previously,
it was failing in master's CI because the go modules were not downloaded
in the build image. To improve that, I replaced the combination of
docker run and docker build by a multi-stage Dockerfile responsible for
building the adapter and running it.

In addition to that, I removed the `_output` directory completely as it
wasn't really meaningful to have it anymore. I also removed the
`build-local-image` rule as it was a duplicate of the `docker-build`
rule with the only different of using a scratch base image.

Also, since all the base images that we are using by default are based
on busybox, I change the UID used in the image to 65534 which correspond
to the nobody user in busybox.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-06-02 17:12:27 +02:00
andrewpkq
f4d5bc9045 Updating deploy/README.md to fix links 2021-04-03 18:55:16 -07:00
aackerman
dce6abfba9 Fix documented metrics labels to work for k8s 1.16+ 2021-03-23 09:01:56 -05: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
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
Johannes Würbach
d6b587d52b
Use build args to fix building on macos 2020-04-15 13:51:44 +02:00
Solly Ross
6c8f44623e Add tests for the resource metrics provider
This adds basic tests for the resource metrics provider, and fixes up
the default config slightly.
2018-10-03 11:05:43 -04:00
Solly Ross
cfba614544 Remove extraneous /adapter from deployment args
There was an extraneous `/adapter` in the deployment args that was
causing people issues.  This removes it.
2018-08-20 17:12:27 -04:00
Saverio Proto
b5ee64bf38 Improve docs about TLS secret 2018-07-24 13:15:24 +02:00
Aabed
beb6bb9663
sets the right path for config file
The configmap is mounted under /etc/adapter/config.yaml instead of /default/adapter-config.yaml
2018-07-22 10:39:34 +02:00
Solly Ross
fb8a0c50b3 Fix up the walkthrough
This fixes up a couple of typos in the walkthrough and updates it to
mention config and the Prometheus Operator.

It probably eventually needs to be further modified with more specific
instructions about the Prometheus Operator.
2018-06-30 22:22:05 -04:00
Solly Ross
eb6949c2a4 Explicitly mount /tmp as an emptyDir
If using an image build with `FROM scratch` (as built by the
build-local-images make target), you need to explictly mount
/tmp as an emptyDir.
2018-06-30 21:21:44 -04:00
Solly Ross
40a9ee2474 Add a helper to generate legacy configuration
This moves the DefaultConfig method out into a helper to generate legacy
configuration.  Passing in a config file is now required.
2018-06-27 16:56:20 -04:00
Solly Ross
f05ee274c8 [deploy] update types to Kube 1.9 versions
This commit updates the deploy YAML files to the Kubernetes 1.9 API
versions.
2018-02-13 13:25:13 -05:00
Frederic Branczyk
80598a8bd3
deploy: Update custom metrics API name and separate into files 2017-11-13 09:54:35 +01:00
Lucas Käldström
98a6cd5bce
Add RBAC and API Aggregation rules to example manifest 2017-06-26 22:18:29 +03:00
Lucas Käldström
c4e6f3307f
Update Makefile to release and build for multiple platforms 2017-06-26 20:11:15 +03:00
Solly Ross
66cf5eaafb Provide basic deployment instructions
This commit introduces a Dockerfile with some basic deployment
instructions, as well as a makefile for convinience.
2017-06-24 01:42:10 -04:00