Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 13. Configuring burst and QPS for net-kourier
The queries per second (QPS) and burst values determine the frequency of requests or API calls to the API server.
13.1. Configuring burst and QPS values for net-kourier Copier lienLien copié sur presse-papiers!
The queries per second (QPS) value determines how many client requests or API calls a client sends to the API server each second.
The burst value determines how many client requests the system can store in a buffer for processing. If requests exceed this buffer, the system drops them. This is helpful for controllers that are bursty and do not spread their requests uniformly in time.
When the net-kourier-controller restarts, it parses all ingress resources deployed on the cluster, which leads to a significant number of API calls. Due to this, the net-kourier-controller can take a long time to start.
You can adjust the QPS and burst values for the net-kourier-controller in the KnativeServing CR:
Example KnativeServing CR example
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"
- name: KUBE_API_QPS
value: "200"