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

HPA for Kourier Gateway scales up pod with CPU high load by ksvc creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 1.31.0
    • None
    • None
    • False
    • None
    • False

      Issue

      When creating more than 500 ksvc by a script create_1000_helloworld_ksvc_with_kourier.sh in SRVKS-1170, 3scale-kourier-gateway got high CPU load without any client access. Then, HPA for Korier Gateway scales up 3scale-kourier-gateway pods.

      However, all 3scale-kourier-gateway pods sync with the same backend info, so the scale up does not useful for this situation. All pods get the CPU highload in the same way.  In the end, it scales up the pods until almost maximum number.

      Even worse, users cannot set the max number of limit for the pods.

      The scale up should be based on the number of requests (or CPU load based on the request though I guess impossible). Or some other approach should be taken for this situation.

      Additional note

      To reproduce this issue, please use an attached script create_1000_helloworld_ksvc_with_kourier.sh in SRVKS-1170.

              Unassigned Unassigned
              rhn-support-knakayam Kenjiro Nakayama (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: