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

[DOC] Document how the user should set the QPS and Burst parameters for net-kourier

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.30.0, 1.29.1
    • 1.29.1
    • Documentation
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • True
    • You can now configure burst and QPS for net-kourier for improved performance.
    • Enhancement
    • Proposed

       

      [draft]

      Title: Configuraing BURST and QPS for net-kourier

      New section: https://docs.openshift.com/serverless/1.28/knative-serving/

      The number of client requests or API calls that are sent to the API server is determined by the queries per second (QPS) value. The number of requests the client can make in excess of the QPS rate depends on the burst value, this is helpful for controller that are bursty in nature and can make irregular number of requests.

      When the net-kourier-controller restarts, it parses all ingress resources deployed on the cluster, which leads to a significant number of API calls being executed. Consequently, it takes a considerable amount of time for net-kourier-controller to complete the start process.

      The KnativeServing CR allows for the adjustment of QPS (Queries Per Second) and burst values in the serverless environment:

      apiVersion: operator.knative.dev/v1beta1
      kind: KnativeServing
      metadata:
        name: knative-serving
        namespace: knative-serving
      spec:
        workloads:
        - name: net-kourier-controller
          env:
          - container: controller
            envVars:
            - name: KUBE_API_BURST
              value: "200"   <1>
            - name: KUBE_API_QPS
              value: "200"   <2>
      

      <1> .. The QPS rate at which the controller talks to the APIServer. The default is 200.
      <2> .. The burst rate at which the Kubelet talks to the APIServer. The default is 200.

              msvistun@redhat.com Maxim Svistunov
              skontopo@redhat.com Stavros Kontopoulos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: