Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service mesh doesn't show topology #16

Closed
yb172 opened this issue Feb 28, 2019 · 3 comments
Closed

Service mesh doesn't show topology #16

yb172 opened this issue Feb 28, 2019 · 3 comments

Comments

@yb172
Copy link
Owner

yb172 commented Feb 28, 2019

load-generator sends request to gen-gateway which talks to either gen-number, gen-word, or gen-internets. However that's what topology shows:

screen shot 2019-02-28 at 12 42 41 am

@yb172
Copy link
Owner Author

yb172 commented Feb 28, 2019

Interestingly enough linkerd routes svc/gen-gateway -n gen gives nothing - says service profile not found

@yb172
Copy link
Owner Author

yb172 commented Feb 28, 2019

Output of tap command suggested in "troubleshooting" section:

$ linkerd tap deploy/gen-gateway -o wide -n gen | grep req
req id=132:53 proxy=out src=10.36.0.46:59448 dst=10.39.254.147:10000 tls=no_identity :method=POST :authority=10.39.254.147:10000 :path=/wordgen.InternetsWordGenerator/GetWord src_res=deploy/gen-gateway src_ns=gen
req id=132:54 proxy=out src=10.36.0.46:59458 dst=10.39.254.147:10000 tls=no_identity :method=POST :authority=10.39.254.147:10000 :path=/wordgen.InternetsWordGenerator/GetWord src_res=deploy/gen-gateway src_ns=gen
req id=132:55 proxy=out src=10.36.0.46:38484 dst=10.39.240.160:10000 tls=no_identity :method=POST :authority=10.39.240.160:10000 :path=/wordgen.WordGenerator/GenerateWord src_res=deploy/gen-gateway src_ns=gen

Looks like paths are there, but authority header contains ips...

@yb172
Copy link
Owner Author

yb172 commented Feb 28, 2019

And it looks like this is caused by the way I'm doing service discovery: https://github.com/yb172/experiments/blob/master/kube/testtools/config.yaml#L4

yb172 added a commit that referenced this issue Mar 1, 2019
#16: Fix service mesh to show topology
@yb172 yb172 closed this as completed Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant