mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 04:56:11 +00:00
Temporarily disable max inflight checks for mutating requests
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
@@ -192,6 +192,13 @@ func getAggregatedAPIServerConfig(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// temporarily disable max inflight checks for mutating requests until we
|
||||
// pick up a fix for https://github.com/kubernetes/kubernetes/issues/95300
|
||||
// we do not need to set MaxRequestsInFlight to 0 because we are constantly
|
||||
// hammered by the kubelet for /healthz and the api server for discovery
|
||||
// which keeps the non-mutating request watermark histograms up to date
|
||||
serverConfig.Config.MaxMutatingRequestsInFlight = 0
|
||||
|
||||
apiServerConfig := &apiserver.Config{
|
||||
GenericConfig: serverConfig,
|
||||
ExtraConfig: apiserver.ExtraConfig{
|
||||
|
||||
Reference in New Issue
Block a user