odahu / odahu-automation

Apache License 2.0
8 stars 0 forks source link

Allow direct SVC call on Istio ingress #82

Open karbyshevds opened 3 years ago

karbyshevds commented 3 years ago

As a Data Scientist I want to be able to call deployed model via internal SVC address (not via FQDN). Now it's possible only if I'll pass HOSTNAME header with public FQDN which is not obvious. The resolution is to allow internal SVC call on Istio ingress.

karbyshevds commented 3 years ago

It works already - you can call model from other pod without passing Host header e.x.: curl -X GET -H "Authorization: Bearer TOKEN" "http://istio-ingressgateway.istio-system/model/MODEL_NAME/api/model/info" -H "accept: application/json"