My context config is:
- OpenShift 3.11.88
- Istio 1.1.15 (istio.io)
I am trying to create and test a ServiceEntry, I used the example on istio.io :
kubectl apply -f - <<EOF apiVersion: networking.istio.io/v1alpha3 kind: ServiceEntry metadata: name: httpbin-ext spec: hosts: - httpbin.org ports: - number: 80 name: http protocol: HTTP resolution: DNS location: MESH_EXTERNAL EOF
when I try the curl command from a sleep pod in the same namespace (istio injected) as the ServiceEntry :
kubectl exec -it $SOURCE_POD -c sleep -- curl http://httpbin.org/headers
I get no response; it seems that the ServiceEntry is not reachable.
When I try the same config on Kubernetes (not openshift), everything works like a charm.
Thinking about the OpenShift routes/router, is there any requirement to make this external call work?
Do you have any ideas, please?
Thank you in advance.