Commit graph

213 commits

Author SHA1 Message Date
Solly Ross
a723582f58 [build] add make rule for vendor
This commit adds a Makefile rule for installing the vendor directory.
Both the `build` and `docker-build` phony rules depend on the `vendor`
rule, which in turn depends on the `glide.lock` rule.  This means that
any time the `glide.lock` file is updated, the vendor directory will be
re-installed.
2017-06-26 16:27:53 -04:00
Solly Ross
3618aafca4 [build] fix build makefile target path
The `build` Makefile target attempted to place the generated artifact in
`/build`, where it should have used a local directory instead.  This
commit makes the directory configurable using the `OUT_DIR` argument,
and defaults it to ./_output
2017-06-26 16:27:26 -04:00
Solly Ross
6f4f0ea2f9 Merge pull request #8 from luxas/move_cmd
Move the adapter binary to a separate subdir
2017-06-26 16:25:37 -04: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
a4aac78cca
Move the adapter binary to a separate subdir 2017-06-26 22:09:22 +03:00
Solly Ross
365c8fb112 Merge pull request #5 from luxas/patch-1
Update Makefile to release and build for multiple platforms
2017-06-26 14:57:46 -04: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
Solly Ross
4dd94c3c85 Update dependencies
This commit updates the dependencies to the latest
custom-metrics-boilerplate, plus newer Kube libraries.
2017-06-24 01:42:10 -04:00
Solly Ross
ff72108468 Use renamed k8s.io/custom-metrics-boilerplate
k8s.io/custom-metrics-boilerplate was "renamed" to
"github.com/directxman12/custom-metrics-boilerplate".  This updates all
references to point to the correct location.
2017-06-24 01:42:10 -04:00
Solly Ross
f68a69461a Add README
The readme contains a basic description of configuration, as well as
details on how underlying Prometheus metrics map to custom metrics API
metrics.
2017-06-24 01:42:09 -04:00
Solly Ross
3690c3ac6b Instrument Prometheus query times
This commit instruments prometheus query times by prometheus endpoint,
allowing us to see how quickly prometheus answers the queries that
back the custom-metrics API endpoints.
2017-06-02 15:07:13 -04:00
Solly Ross
5bff503339 Initial Functionality
The initial functionality works.  There's still a number of TODOs to
clean up, and some edge cases to work around, and some errors that could
be handled better.
2017-05-10 00:05:32 -04:00