K8s: Increase max request body (#101564)

This commit is contained in:
Stephanie Hingtgen
2025-03-04 11:27:43 -06:00
committed by GitHub
parent 7b9970f1e7
commit b8e1511c7f
+1
View File
@@ -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