not sure if anyone met this issue before, after I deployed amassador with istio gateway resoruce as backend I got 503 with
upstream connect error or disconnect/reset before headers. reset reason: connection failure
If I changed ambassador backend to nginx ingress resource, everything works perfectly.
Update, sry for the confusion, in my case, I am access Ambassador and configured mapping rules to istio gateway, https://test-internal.url is the istio ingress gateway resource in my case.
Here is the example config.
kind: Service
metadata:
annotations:
cloud.google.com/neg: '{"ingress": true}'
getambassador.io/config: |
---
apiVersion: ambassador/v1
kind: Mapping
name: test-mapping
ambassador_id: ambassador-1
prefix: /
host: test.url
service: https://test.url
host_rewrite: test-internal.url