Commit graph

46 commits

Author SHA1 Message Date
Asher Foa
6a7f2b5ce1 Fix yaml in sample config & docs 2023-01-25 12:31:52 -05: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
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
mbutkereit
6720d67d3a Add s to metricQuery 2021-10-29 08:13:50 +02:00
Ashish Ranjan
4256683587
Fix the tag for external rules 2021-07-02 16:23:28 +05:30
Ashish Ranjan
0ceb09085c
Fix external rule tag in documentation
Replaced external: by externalRules: in documentation for external rules
2021-07-02 12:17:59 +05:30
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
Kubernetes Prow Robot
c893b1140c
Merge pull request #380 from carsonoid/issue-324-carsonoid
Allow metrics to be defined as `namespaced: false`
2021-05-12 06:12:17 -07:00
Carson Anderson
fa5f8cd742 Add requested fixes 2021-04-23 11:27:38 -06:00
Carson Anderson
510c3724ce Add docs, tests, and move namespaced to metricsQuery 2021-04-08 11:07:50 -06:00
aackerman
dce6abfba9 Fix documented metrics labels to work for k8s 1.16+ 2021-03-23 09:01:56 -05: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
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
Sergiusz Urbaniak
752ce84723 cmd/*,pkg/*,docs,go.mod: bump custom-metrics-apiserver, metrics-server 2020-10-28 15:52:12 +01:00
Hao Ke
43043ced4a
Update Prometheus Operator Doc location 2020-09-28 14:29:15 -04:00
Richard Jackson
ed4b59b359
Small typo in config example snippet 2019-11-13 15:29:13 -06:00
Sergiusz Urbaniak
03bc47e9fb
Merge pull request #214 from thisisamurray/patch-1
Yaml typo for seriesFilters example
2019-07-22 16:57:27 +02:00
Sergiusz Urbaniak
7e520a889e
Merge pull request #161 from jsenon/patch-1
Update example
2019-07-15 10:50:33 +02:00
Andrew Murray
571fb936bc
Yaml typo for seriesFilters example
Missing `-` in order to make seriesFilters an array.
2019-06-23 10:23:37 -04:00
Robson D. Montenegro
57f60449f3
typo 2019-06-02 22:22:19 +01:00
Julien Senon
7480349096
Update example
Update sample deployment yaml
2019-02-08 14:00:08 +01:00
Tiago Matias
2e82759ca9 fix typos
revert from less ideal wording

more typos
2018-11-20 10:09:02 -02:00
Tiago Matias
94b0063c52
fix typo 2018-10-19 16:31:07 -03:00
richardbrks
94379a1780 delete repeated phrase 2018-09-28 12:53:39 -04:00
richardbrks
8d12f4f5fd correct capitalization 2018-09-28 12:40:07 -04:00
richardbrks
93974115ad remove repeated word 2018-09-28 07:52:48 -04:00
Solly Ross
a1f4aab6d4 Restructure walkthrough
This restructures the walkthrough to focus on the goal of scaling an
application from the start.  We start out with an application and an
autoscaler, and then walk through how we can make the autoscaler
actually able to function.
2018-08-24 11:16:49 -04:00
Solly Ross
5118c9ee1e Add some FAQs to the README
This adds some FAQs to the README containing information about certs,
labelling, configuration, quantities, and multiple metrics.
2018-08-24 11:16:49 -04:00
Solly Ross
77614d151a Add a note on resource quanities to walkthrough
Quantities continue to confuse people, so adding concrete examples
should help.
2018-08-24 11:16:49 -04:00
Solly Ross
9f08038f07 Add a config walkthrough and update the readme
A helful community member rightly pointed out that configuring the
adapter was a bit confusing, and a step-by-step example would be useful.
This adds such an example, and links to it from relevant places.
2018-08-24 11:16:49 -04:00
Solly Ross
c912ebed77 Fix naming typo in the config docs
The config docs had a find/replace error in the naming section, leading
to an erroneus `as` clause.  This fixes that.
2018-08-07 13:45:16 -04:00
Nate Fox
16b031e22f
Missed a link
Updating 1 more link
2018-07-02 14:20:33 -07:00
Nate Fox
75e690b430
Fixing broken links
Updating links to root so they work whilst reading on Github
2018-07-02 14:18:43 -07: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
32e4c5b1c7 Advanced Config Docs Updates
This updates the documentation and README to have information on the
configuration file format.
2018-06-27 16:56:20 -04:00
Solly Ross
2984604be8 Advanced Configuration
This commit introduces advanced configuration.  The rate-interval and
label-prefix flags are removed, and replaced by a configuration file
that allows you to specify series queries and the rules for transforming
those into metrics queries and API resources.
2018-06-22 15:37:12 -04:00
Solly Ross
c22681a91d
Merge pull request #67 from zioproto/patch-1
Fix creating the resource-lister clusterrole
2018-05-25 14:23:16 -04:00
Saverio Proto
909f0a2599 docs: walkthrough, make consistent the volume name
Related-issue: #57
2018-05-14 09:20:26 +02:00
Saverio Proto
12d0e7b75f Fix creating the resource-lister clusterrole
Related-issue: #57
2018-05-08 11:06:52 +02:00
Solly Ross
42e839ece7
Merge pull request #47 from aschepis/patch-1
[docs] Fix serving cert path config in deployment spec
2018-02-22 14:28:33 -05:00
Adam Schepis
66527c6c6b
Add missing create on api registration
when creating the custom APIService the example was missing the `create` portion of the `kubectl` command.
2018-02-22 09:23:32 -05:00
Adam Schepis
6e4d4a4a93
Fix serving cert path config in deployment spec
The volume was mounted at `/var/run/serving/certs` but the container was sending an arg to look at `/var/run/serving-cert` (missing the trailing `s`)
2018-02-21 18:19:24 -05:00
Solly Ross
79f9248ded [docs] update to v1.9 API versions
This updates the README and walkthrough to use v1.9 API versions,
and to use Prometheus v2.
2018-02-13 13:16:14 -05:00
Solly Ross
109ad80627 [docs] Minor walkthough fixes
This fixes a typo in the walkthrough with a missing `</details>` closing
tag, and clarifies that you'll need RBAC set up for delegation.
2017-09-25 13:26:27 -04:00
Solly Ross
4e99936e4f [docs] Add walkthrough
This adds a walkthrough to the docs covering setting up Prometheus and
the adapter, as well as autoscaling a sample application on custom
metrics.
2017-09-07 14:53:37 -04:00