I’m trying to setup a multi cluster environment here. I’ve got 2 clusters, and the PODs can ping each other. In order to achieve that, I’ve added a route on cluster-a nodes to cluster-b POD CIDR using cluster-b master node as the router. Did the same thing on cluster-b, added a route on cluster-b nodes to cluster-a POD CIDR using cluster-a master node as the router. That way, all the PODs can ping each other.
I’ve followed the Istio MultiCluster Setup here: https://istio.io/docs/setup/kubernetes/multicluster-install/
The only difference is I dind’t use envoyStatsd options.
The cluster seems to work fine, I’ve deployed bookinfo on clustera and deleted the reviews-v3 deployment. Deployed reviews-v3 on clusterb, together with reviews service and ratings service (as reviews-v3 needs to call ratings service).
Application works fine, jaeger ui shows tracing fine, however ServiceGraph/Kiali shows it as unknown. By troubleshooting, the only clue I’ve got is mixer debug logs:
could not find pod for (uid: kubernetes://reviews-v3-5b994cb49d-7nblf.default, key: default/reviews-v3-5b994cb49d-7nblf)
{"level":"info","time":"2019-01-11T15:10:21.821678Z","instance":"accesslog.logentry.istio-system","apiClaims":"","apiKey":"","clientTraceId":"","connection_security_policy":"none","destinationApp":"","destinationIp":"10.61.0.2","destinationName":"unknown","destinationNamespace":"default","destinationOwner":"unknown","destinationPrincipal":"","destinationServiceHost":"reviews.default.svc.cluster.local","destinationWorkload":"unknown","httpAuthority":"reviews:9080","latency":"58.440379ms","method":"GET","protocol":"http","receivedBytes":798,"referer":"","reporter":"destination","requestId":"ec775803-97a6-459f-8b70-b7da5c290753","requestSize":0,"requestedServerName":"","responseCode":200,"responseSize":375,"responseTimestamp":"2019-01-11T15:10:21.879868Z","sentBytes":549,"sourceApp":"productpage","sourceIp":"10.51.0.10","sourceName":"productpage-v1-54d799c966-w42qf","sourceNamespace":"default","sourceOwner":"kubernetes://apis/apps/v1/namespaces/default/deployments/productpage-v1","sourcePrincipal":"","sourceWorkload":"productpage-v1","url":"/reviews/0","userAgent":"python-requests/2.18.4","xForwardedFor":"0.0.0.0"}
Any help would be appreciated.
Thanks