add max inflight flag

Signed-off-by: pigletfly <wangbing.adam@gmail.com>
This commit is contained in:
pigletfly 2022-02-09 15:28:20 +08:00
parent b5493ccf5f
commit 9fd509809e
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,8 @@ spec:
- --requestheader-username-headers=X-Remote-User
- --tls-cert-file=/etc/kubernetes/pki/karmada.crt
- --tls-private-key-file=/etc/kubernetes/pki/karmada.key
- --max-requests-inflight={{ .Values.apiServer.maxRequestsInflight }}
- --max-mutating-requests-inflight={{ .Values.apiServer.maxMutatingRequestsInflight }}
ports:
- name: http
containerPort: 5443

View File

@ -244,6 +244,8 @@ apiServer:
## will take effect when 'apiServer.serviceType' is 'NodePort'.
## If no port is specified, the nodePort will be automatically assigned.
nodePort: 0
maxRequestsInflight: 1500
maxMutatingRequestsInflight: 500
## karmada aggregated apiserver config
aggregatedApiServer: