prometheus/discovery/kubernetes
Jens Erat 728fdc959e
Kubernetes SD: disable resync timer
While originally the resync period also forced refreshing from Kubernetes API server, this has been removed for some years now because watching the API server got more stable [1]. Today, this just results in all entities being sent to the service discovery again, which is valid from a general Prometheus perspective, but results in unnecessary CPU load and also breaks service discovery metrics. In especially, this makes monitoring "do we actually observe changes from Kubernetes API server" impossible (receiving constant updates from Kubernetes service discovery is a pretty valid assumption, for example nodes get frequent status updates, ...).

Signed-off-by: Jens Erat <jens.erat@mercedes-benz.com>
2022-12-22 13:26:03 +01:00
..
client_metrics.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
endpoints.go Update kubernetes dependencies 2022-12-14 10:46:20 +01:00
endpoints_test.go discovery/kubernetes: fix broken tests 2022-07-18 09:10:12 -04:00
endpointslice.go Update kubernetes dependencies 2022-12-14 10:46:20 +01:00
endpointslice_adaptor.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
endpointslice_adaptor_test.go Kubernetes SD: Support discovery.k8s.io/v1 EndpointSlice 2022-03-19 00:42:16 +03:00
endpointslice_test.go discovery/kubernetes: fix broken tests 2022-07-18 09:10:12 -04:00
ingress.go Update kubernetes dependencies 2022-12-14 10:46:20 +01:00
ingress_adaptor.go Kubernetes SD: Fix golint issue 2021-08-24 17:30:33 +09:00
ingress_test.go Implement target discovery in own k8s namespace 2021-12-14 13:41:38 +01:00
kubernetes.go Kubernetes SD: disable resync timer 2022-12-22 13:26:03 +01:00
kubernetes_test.go Improve reliability of Kubernetes SD tests (#10761) 2022-06-07 16:19:40 +01:00
node.go Update kubernetes dependencies 2022-12-14 10:46:20 +01:00
node_test.go Kubernetes service discovery: add provider ID label (#9603) 2021-12-06 22:27:11 +01:00
pod.go Update kubernetes dependencies 2022-12-14 10:46:20 +01:00
pod_test.go discovery/kubernetes: fix broken tests 2022-07-18 09:10:12 -04:00
service.go Update kubernetes dependencies 2022-12-14 10:46:20 +01:00
service_test.go add loadbalancerip to service labels 2022-08-10 12:40:11 +02:00