Configure envoy to accept HTTP version 1.0

How can I configure envoy sidecar on my namespace to accept upstream and downstream using HTTP version 1.0 . I am running a legacy application to only uses 1.0 and envoy blocks it with 426 upgrade required.
Do I use Envoyfilters? How?

If you want for all proxies enable this flag PILOT_HTTP10 Istio / pilot-agent if you need for specific. If you want for specific proxy to accept http1.0 incoming connections set ISTIO_META_HTTP10 to “1” in that proxy’s metadata.

I kind of did both. I need HTTP 1.0 enabled on ingress gateway and between sidecars.

Installed Istio using the parameters below and now it is working:

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    gateways:
      istio-ingressgateway:
        env:
          ISTIO_META_HTTP10: '1'
    pilot:
      env:
        PILOT_HTTP10: '1'

Did I do it right?

1 Like