mirror of https://github.com/linkerd/linkerd2.git
Fixes https://github.com/linkerd/linkerd2/issues/2800#issuecomment-513740498 When the Linkerd proxy sends a query for a Kubernetes external name service to the destination service, the destination service returns `NoEndpoints: exists=false` because an external name service has no endpoints resource. Due to a change in the proxy's fallback logic, this no longer causes the proxy to fallback to either DNS or SO_ORIG_DST and instead fails the request. The net effect is that Linkerd fails all requests to external name services. We change the destination service to instead return `InvalidArgument` for external name services. This causes the proxy to fallback to SO_ORIG_DST instead of failing the request. Signed-off-by: Alex Leong <alex@buoyant.io> |
||
---|---|---|
.. | ||
stat_test.go |