Merge pull request #233 from enj/enj/i/tmp_disable_max_flight

Temporarily disable max inflight checks for mutating requests
This commit is contained in:
Mo Khan 2020-11-19 22:51:03 -05:00 committed by GitHub
commit b8fb37b9f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,6 +192,13 @@ func getAggregatedAPIServerConfig(
return nil, err 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{ apiServerConfig := &apiserver.Config{
GenericConfig: serverConfig, GenericConfig: serverConfig,
ExtraConfig: apiserver.ExtraConfig{ ExtraConfig: apiserver.ExtraConfig{