mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Increase maxMsgSize for dockershim
Increase the grpc max message size to be the same as the value defined in `pkg/kubelet/remote/utils.go`. Increase the limit because, `ListPodSandbox` (and possibly other) calls are hitting the limit. Long term, the best solution to this issue is to use pagination, but that is not currently available.
This commit is contained in:
parent
24c964d5c1
commit
0547167ad0
@ -26,9 +26,9 @@ import (
|
||||
"k8s.io/kubernetes/pkg/kubelet/util"
|
||||
)
|
||||
|
||||
// maxMsgSize use 8MB as the default message size limit.
|
||||
// maxMsgSize use 16MB as the default message size limit.
|
||||
// grpc library default is 4MB
|
||||
const maxMsgSize = 1024 * 1024 * 8
|
||||
const maxMsgSize = 1024 * 1024 * 16
|
||||
|
||||
// DockerServer is the grpc server of dockershim.
|
||||
type DockerServer struct {
|
||||
|
Loading…
Reference in New Issue
Block a user