Istio Deployment Failure

Hi,

I've followed the steps mentioned at https://docs.apigee.com/api-platform/istio-adapter/installation for getting Apigee Public Cloud Edge to work with Istio. I'm running Istio locally using the Minikube option. Am stuck at step 5 of "Install a test service". I'm unable to determine the external ip-address of the load-balancer.

The command:

kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}'<IP_ADDRESS>

does not provide an output.

However the below command does provide me some output, which however makes me believe that the load-balancer did not get configured properly.

kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status}'
map[loadBalancer:map[]]

Any pointers?

Solved Solved
0 3 459
1 ACCEPTED SOLUTION

I was able to glean more information from the Istio docs

The overall solution for anyone using minikube should be to run the below command instead of steps 5 and 6 mentioned under "Install a test service":

export HELLOWORLD_URL=$(minikube ip):$(kubectl get service istio-ingressgateway -n istio-system -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')

Thanks @srinandans for pointing me in the right direction. Can you please update the Apigee Istio documentation?

View solution in original post

3 REPLIES 3

Former Community Member
Not applicable

On Minikube, you can get the external ip as:

export INGRESS_HOST=$(minikube ip)

Thanks for the reply @srinandans. I'm assuming that you want me to use INGRESS_HOST instead of HELLOWORLD_URL mentioned in the documentation. I am unable to curl to http://INGRESS_HOST/hello. Is there a different port that I should be trying to connect to?

I was able to glean more information from the Istio docs

The overall solution for anyone using minikube should be to run the below command instead of steps 5 and 6 mentioned under "Install a test service":

export HELLOWORLD_URL=$(minikube ip):$(kubectl get service istio-ingressgateway -n istio-system -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')

Thanks @srinandans for pointing me in the right direction. Can you please update the Apigee Istio documentation?