Skip to content

Commit 987a609

Browse files
authoredJul 15, 2017
Merge pull request #15206 from smarterclayton/set_mutating_proportional
Set mutation limit proportional to read limit by default
2 parents 0720d4b + c9ed731 commit 987a609

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkg/cmd/server/kubernetes/master/master_config.go

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ func BuildKubeAPIserverOptions(masterConfig configapi.MasterConfig) (*kapiserver
155155
server.Etcd.DefaultWatchCacheSize = DefaultWatchCacheSize
156156

157157
server.GenericServerRunOptions.MaxRequestsInFlight = masterConfig.ServingInfo.MaxRequestsInFlight
158+
server.GenericServerRunOptions.MaxMutatingRequestsInFlight = masterConfig.ServingInfo.MaxRequestsInFlight / 2
158159
server.GenericServerRunOptions.MinRequestTimeout = masterConfig.ServingInfo.RequestTimeoutSeconds
159160
for _, nc := range masterConfig.ServingInfo.NamedCertificates {
160161
sniCert := utilflag.NamedCertKey{

0 commit comments

Comments
 (0)