linkerd2/controller/k8s
Andrew Seigner 9e8cce0838
Destination service returns "Running" pod labels (#781)
When the Destination sees an IP address, it looks up Pods by that IP,
and associates Pod label data to it. If the lookup by IP returned more
than one Pod, it simply picked the first one. This is not correct,
specifically in cases where one pod is in a Running state, and others
are not.

Modify the Destination service to only return label data for Pods in the
Running state.

Fixes #773

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2018-04-17 14:42:54 -07:00
..
clientset.go Upgrade k8s.io/client-go to v6.0.0 (#122) 2018-01-11 10:22:37 -08:00
endpoints.go Refactor destination service and add tests in preparation to add information about labels (#645) 2018-03-30 11:36:48 -07:00
pods.go Add pod-based metric_labels to destinations response (#429) (#654) 2018-04-02 18:36:57 -07:00
replicasets.go Modify simulate-proxy to be more pod-centric (#653) 2018-03-30 13:28:45 -07:00
test_helper.go Destination service returns "Running" pod labels (#781) 2018-04-17 14:42:54 -07:00
watcher.go Retry k8s watch endpoints on error (#510) 2018-03-07 13:40:43 -08:00
watcher_test.go Misc cleanup following the telemetry rewrite (#771) 2018-04-16 15:51:07 -07:00