prometheus/discovery/kubernetes
Filip Petkovski 05da373dcb
kubernetes_sd: Allow attaching node labels for endpoint role
The Kubernetes service discovery can only add node labels to
targets from the pod role.

This commit extends this functionality to the endpoints and
endpointslices roles.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2022-06-16 12:22:55 +02:00
..
client_metrics.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
endpoints.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
endpoints_test.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
endpointslice.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02: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 kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
ingress.go refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 2022-06-03 13:47:14 +02:00
ingress_adaptor.go
ingress_test.go Implement target discovery in own k8s namespace 2021-12-14 13:41:38 +01:00
kubernetes.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
kubernetes_test.go Improve reliability of Kubernetes SD tests (#10761) 2022-06-07 16:19:40 +01:00
node.go refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 2022-06-03 13:47:14 +02:00
node_test.go Kubernetes service discovery: add provider ID label (#9603) 2021-12-06 22:27:11 +01:00
pod.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
pod_test.go Allow attaching node metadata 2022-03-10 08:40:52 +01:00
service.go refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 2022-06-03 13:47:14 +02:00
service_test.go Implement target discovery in own k8s namespace 2021-12-14 13:41:38 +01:00