kubectl -n istio-mesh port-forward $(kubectl -n istio-mesh get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001 -- this gets me a nice kiali web interface at http://localhost:20001/kiali
kubectl get svc productpage -n bimesh -oyaml > ppsvc.yml
I edited ppsvc.yml so that product page service is of type nodeport. I can now access it outside the cluster after I did kubectl apply -f ppsvc.yml -n bimesh
In particular, I am able to send traffic to the application by accessing http://169.60.227.121:31470/productpage (i.e., my public ip : nodeport)
When I go over to kiali webpage, I get the following error:
Error fetching Mesh-wide mTLS status., Error: [ the server could not find the requested resource (get meshpolicies.authentication.istio.io)
When I click on graph, I see this...
this is very different (and broken) compared to what I am able to see in kiali if I manually install Istio and then istiofy my deployments. I have described what I see in that case here
I tried to reproduce this problem on both Ubuntu and a Mac kubectl client, and I couldn't reproduce this particular issue. Are you sure the kiali instance you're accessing is installed via kubectl mesh up?
I tried the following steps...
kubectl create namespace bimesh
kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/platform/kube/bookinfo.yaml -n bimesh
kubectl -n istio-mesh port-forward $(kubectl -n istio-mesh get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001
-- this gets me a nice kiali web interface athttp://localhost:20001/kiali
kubectl get svc productpage -n bimesh -oyaml > ppsvc.yml
kubectl apply -f ppsvc.yml -n bimesh
http://169.60.227.121:31470/productpage
(i.e., my public ip : nodeport)Error fetching Mesh-wide mTLS status., Error: [ the server could not find the requested resource (get meshpolicies.authentication.istio.io)
this is very different (and broken) compared to what I am able to see in kiali if I manually install Istio and then istiofy my deployments. I have described what I see in that case here