VictoriaMetrics/lib/promscrape/discovery/kubernetes
Aliaksandr Valialkin a51d0ec6ec lib/promscrape/discovery/kubernetes: load objects missing in local cache from api seriver in getObjectByRole()
This should fix possible race for `role: endpoints` and `role: endpointslices` service discovery,
when the referred `pod` and `service` objects aren't propagated to urlWatcher cache yet.

See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1182#issuecomment-813353359 for details.
2021-04-05 20:31:17 +03:00
..
api_watcher_test.go lib/promscrape/discovery/kubernetes: properly discover targets in multiple namespaces 2021-04-02 14:28:30 +03:00
api_watcher.go lib/promscrape/discovery/kubernetes: load objects missing in local cache from api seriver in getObjectByRole() 2021-04-05 20:31:17 +03:00
api.go lib/promscrape: add support for authorization config in -promscrape.config as Prometheus 2.26 does 2021-04-02 21:17:45 +03:00
common_types.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
endpoints_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
endpoints.go lib/promscrape/discovery/kubernetes: load objects missing in local cache from api seriver in getObjectByRole() 2021-04-05 20:31:17 +03:00
endpointslices_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
endpointslices.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
ingress_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
ingress.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
kubernetes.go lib/promscrape: add support for authorization config in -promscrape.config as Prometheus 2.26 does 2021-04-02 21:17:45 +03:00
node_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
node.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
pod_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
pod.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
service_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
service.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00