K8s: Increase max request body (#101564)

pull/101622/head
Stephanie Hingtgen 3 months ago committed by GitHub
parent 7b9970f1e7
commit b8e1511c7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/services/apiserver/service.go

@ -335,6 +335,7 @@ func (s *service) start(ctx context.Context) error {
transport := &roundTripperFunc{ready: make(chan struct{})}
serverConfig.LoopbackClientConfig.Transport = transport
serverConfig.LoopbackClientConfig.TLSClientConfig = clientrest.TLSClientConfig{}
serverConfig.MaxRequestBodyBytes = 16 * 1024 * 1024 // 16MB - determined by the size of `mediumtext` on mysql, which is used to save dashboard data
var optsregister apistore.StorageOptionsRegister

Loading…
Cancel
Save