add max inflight flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
This commit is contained in:
parent
b5493ccf5f
commit
9fd509809e
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue