Sergiusz Urbaniak
f18b6fd370
*: replace glog with klog
2019-04-24 11:04:42 +02:00
Sergiusz Urbaniak
f69586b71c
cmd/adapter: fix logs package
...
... as it moved.
https://github.com/kubernetes/kubernetes/pull/72890
2019-04-24 11:04:42 +02:00
John Delivuk
ff409a0994
Refactoring external to leverage naming
2019-03-26 18:57:02 -04:00
John Delivuk
3f7f249cb8
Removing RestMapper, cleaning up notification hanlder
2019-03-08 13:29:36 -05:00
John Delivuk
ed9eb31b3a
CustomProvider needed to have references updated as well
2019-02-10 19:12:29 -05:00
Solly Ross
c2e176bb23
Merge pull request #158 from linux-on-ibm-z/cross-compile
...
Edited Makefile to add cross build support for s390x.
Adding External Metrics Provider
2019-02-10 15:59:11 -05:00
Sergiusz Urbaniak
326bf3c276
cmd/adapter: add prometheus bearer token configuration
...
Often prometheus is gated by some proxy requiring an auth bearer
token. Currently there is no possibility to configure one except for
providing a full-fledged kubeconfig.
This fixes it by adding a new flag pointing to an optional file
containing the auth bearer for prometheus communication.
2018-12-05 11:45:48 +01:00
Solly Ross
99104cba2a
Merge pull request #136 from nilebox/start-flag
...
Add a separate flag for 'start' parameter
2018-12-04 12:23:26 -08:00
Matthias Loibl
9fb46c3c55
Create a NewCertPool for custom CA certificate
2018-12-03 19:47:37 +01:00
Matthias Loibl
4a16ae6d9a
Log info when successfully loading certificates
2018-12-03 17:57:19 +01:00
Matthias Loibl
bef034e699
Improve error handling in adapter.go
2018-12-03 17:18:53 +01:00
Nail Islamov
88c0ad0b6a
Add validation
2018-11-28 12:20:09 +11:00
Nail Islamov
3f1b120eda
Add a flag metrics-start-duration
2018-11-28 12:13:07 +11:00
Matthias Loibl
5d837a29dd
Add --prometheus-ca-file flag for specific ca
2018-11-23 17:25:22 +01:00
Solly Ross
5f52b29d47
Disable the custom metrics API with no rules
...
This disables the custom metrics API when no custom metrics rules are
given (the resource metrics API acts equivalently). This allows a given
adapter to serve only one of the APIs, if desired.
2018-10-03 11:05:43 -04:00
Solly Ross
c5801455ec
Introduce support for the resource metrics API
...
This introduces support for the resource metrics in the adapter.
The individual queries and window sizes are fully customizable via a new
config section. This uses just the generic machinery from
metrics-server to serve the API.
2018-10-03 11:05:43 -04:00
Solly Ross
d02384477a
Upgrade boilerplate to latest
...
The latest boilerplate comes with a lot of simplifications and helpers
that let us reduce the amount of code written.
2018-10-02 16:57:55 -04:00
Solly Ross
756ff0941e
gofmt all files
...
Some of the files were not appropriately formatted. Now that we run
`verify` in Travis, these'll need to be.
2017-06-27 19:01:39 -04:00
Lucas Käldström
a4aac78cca
Move the adapter binary to a separate subdir
2017-06-26 22:09:22 +03:00