Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-337

Routes do not reconcile in a stable fashion under updates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0
    • None
    • None
    • Serverless Sprint 175

      The route names we generate in the knative-openshift-ingress component are based on a numeric index that's determined by walking through all targets that a Knative Ingress has. If these targets change, there is no guarantee that the order of things stays the same. If only one target changes its visibility, all following targets will get a different index.

      This can cause unnecessary churn on creating and deleting routes and most importantly this has an impact on the user's workloads.

      Instead of adding a numeric index, we should append a hash based on the current target's host. That guarantees that we will have exactly one route per ingress and host and update that route if necessary.

        1. sample1.yaml
          1 kB
        2. sample15.yaml
          1 kB
        3. sample2.yaml
          1 kB
        4. sample3.yaml
          1 kB

              markusthoemmes Markus Thömmes (Inactive)
              markusthoemmes Markus Thömmes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: