Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-158

Applying multiple gateways referencing the same hostname will cause all gateways to stop functioning

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • Upstream
    • None
    • None
    • None

      We have a configuration where we have multiple routes for the ingress-gateway with different hostnames.
      When you accidentally create two gateways listening the same hostname, it causes that all the gateways in the mesh stop working. Even the ones which are not listening that hostname.

      For example:

      apiVersion: networking.istio.io/v1alpha3
      kind: Gateway
      metadata:
      name: foo-gateway
      spec:
      selector:
      istio: ingressgateway
      servers:

      • hosts:
      • foo.bar.com
        port:
        name: http
        number: 80
        protocol: HTTP

      and they you create new gateway with the same hostname:

      apiVersion: networking.istio.io/v1alpha3
      kind: Gateway
      metadata:
      name: foo2-gateway
      spec:
      selector:
      istio: ingressgateway
      servers:

      • hosts:
      • foo.bar.com
        port:
        name: http
        number: 80
        protocol: HTTP

      This will cause that all the gateways stops working and the ingress-gateway routes will response with http code 503.

              jsantana@redhat.com Jonh Wendell
              rh8_mjuopper Markus Juopperi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: