Closed yinfangchen closed 1 year ago
I tried to do the nslookup in the web pod, and it was able to resolve all the other pods' hostnames:
nslookup 10.244.0.6
6.0.244.10.in-addr.arpa name = 10-244-0-6.user.robot-shop.svc.cluster.local.
# nslookup 10.244.0.12
12.0.244.10.in-addr.arpa name = 10-244-0-12.shipping.robot-shop.svc.cluster.local.
# nslookup 10.244.0.14
14.0.244.10.in-addr.arpa name = redis-0.redis.robot-shop.svc.cluster.local.
# nslookup 10.244.0.13
13.0.244.10.in-addr.arpa name = 10-244-0-13.ratings.robot-shop.svc.cluster.local.
# nslookup 10.244.0.10
10.0.244.10.in-addr.arpa name = 10-244-0-10.rabbitmq.robot-shop.svc.cluster.local.
# nslookup 10.244.0.3
3.0.244.10.in-addr.arpa name = 10-244-0-3.payment.robot-shop.svc.cluster.local.
# nslookup 10.244.0.5
5.0.244.10.in-addr.arpa name = 10-244-0-5.mysql.robot-shop.svc.cluster.local.
# nslookup 10.244.0.9
9.0.244.10.in-addr.arpa name = 10-244-0-9.mongodb.robot-shop.svc.cluster.local.
# nslookup 10.244.0.11
11.0.244.10.in-addr.arpa name = 10-244-0-11.dispatch.robot-shop.svc.cluster.local.
# nslookup 10.244.0.8
8.0.244.10.in-addr.arpa name = 10-244-0-8.catalogue.robot-shop.svc.cluster.local.
# nslookup 10.244.0.4
4.0.244.10.in-addr.arpa name = 10-244-0-4.cart.robot-shop.svc.cluster.local.
OK, I made it work by using minikube service web -n robot-shop
.
I am using helm to deploy robot-shop in k8s: https://github.com/instana/robot-shop/blob/master/K8s/helm/README.md#helm-v3x
However, I cannot access to the web UI via
192.168.49.2:31241
In the web service pod, it continuously generates logs like these:
For the dispatch pod, I got:
I can start robot-shop when running it locally. https://github.com/instana/robot-shop#run-locally