Aliaksandr Valialkin
|
ca61d7c82b
|
lib/promscrape/discovery/kubernetes: rename role: endpointslices to role: endpointslice to be consistent with Prometheus
See 2ec6c7dbb8/discovery/kubernetes/kubernetes.go (L99)
|
2021-08-29 11:23:59 +03:00 |
|
Aliaksandr Valialkin
|
327034b54f
|
lib/promscrape/discovery/kubernetes: use v1 API instead of v1beta1 API for role: ingress and role: endpointslices
This should fix service discovery for these roles in Kubernetes v1.22 and newer versions.
See https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122
The corresponding change in Prometheus - https://github.com/prometheus/prometheus/pull/9205
|
2021-08-29 11:23:58 +03:00 |
|
Aliaksandr Valialkin
|
8764b0ae21
|
lib/promscrape/discovery/kubernetes: key ScrapeWork objects by urlWatcher instead of namespace
This makes the code less fragile if urlWatcher would depend on additional to namepsace properties.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1170
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1240
|
2021-05-17 23:49:48 +03:00 |
|
Nikolay
|
535b3ff618
|
vmagent kubernetes_sd tests (#1253)
* first part of tests for kubernetes sd
* makes linter happy
* added more test cases
* adds pub/sub for tests
|
2021-04-29 10:17:45 +03:00 |
|
Aliaksandr Valialkin
|
eee860f83d
|
lib/promscrape/discovery/kubernetes: properly discover targets in multiple namespaces
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1170
|
2021-04-02 14:29:24 +03:00 |
|
Aliaksandr Valialkin
|
41f641b132
|
lib/promscrape/discovery/kubernetes: localize Bookmark parsing code
This is a follow-up for e772d1c920
|
2021-03-11 13:08:56 +02:00 |
|
Aliaksandr Valialkin
|
92ddb8f197
|
lib/promscrape/discovery/kubernetes: move apiWatcher code to a separate file
|
2021-03-05 17:32:32 +02:00 |
|