mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-13 14:57:40 -08:00
a10dc9298e
Sidecar containers are a newish feature in k8s. They're implemented similar to init containers but actually stay running and allow you to delay startup of your application pod until the sidecar started (like init containers always do). This adds the ports of the sidecar container to the list of discovered endpoint(slice), allowing you to target those containers as well. The implementation is a copy of that of Pod discovery fixes: #14927 Signed-off-by: bas smit <bsmit@bol.com> |
||
---|---|---|
.. | ||
endpoints.go | ||
endpoints_test.go | ||
endpointslice.go | ||
endpointslice_adaptor.go | ||
endpointslice_adaptor_test.go | ||
endpointslice_test.go | ||
ingress.go | ||
ingress_adaptor.go | ||
ingress_test.go | ||
kubernetes.go | ||
kubernetes_test.go | ||
metrics.go | ||
node.go | ||
node_test.go | ||
pod.go | ||
pod_test.go | ||
service.go | ||
service_test.go |