linkerd2/pkg
Andrew Seigner 291d8e97ab
Move injected data from env var to k8s labels (#605)
The inject code detects the object it is being injected into, and writes
self-identifying information into the CONDUIT_PROMETHEUS_LABELS
environment variable, so that conduit-proxy may read this information
and report it to Prometheus at collection time.

This change puts the self-identifying information directly into
Kubernetes labels, which Prometheus already collects, removing the need
for conduit-proxy to be aware of this information. The resulting label
in Prometheus is recorded in the form `k8s_deployment`.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2018-03-23 16:11:34 -07:00
..
healthcheck cli: reduce timeouts on API check requests (#586) 2018-03-19 17:15:01 -07:00
k8s Move injected data from env var to k8s labels (#605) 2018-03-23 16:11:34 -07:00
version cli: reduce timeouts on API check requests (#586) 2018-03-19 17:15:01 -07:00