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

Improve Kourier Gateway graceful shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.33.0
    • 1.31.0
    • None
    • None

      Current Kourier gateway has uses healthcheck/fail before stop:

       

                lifecycle:
                  preStop:
                    exec:
                      command: ["/bin/sh","-c","curl -X POST --unix /tmp/envoy.admin http://localhost/healthcheck/fail; sleep 15"]
      

      However, there is another option "drain_listeners", which is used by Istio. We should evaluate if it improves the shutdown behavior or not. Especially we want to make sure that longer-running requests will not be ungracefully terminated during scaling down the gateways.

              skontopo@redhat.com Stavros Kontopoulos
              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: