Set sandbox container resource limit.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -57,6 +57,10 @@ const (
|
||||
const (
|
||||
// defaultSandboxImage is the image used by sandbox container.
|
||||
defaultSandboxImage = "gcr.io/google_containers/pause:3.0"
|
||||
// defaultSandboxOOMAdj is default omm adj for sandbox container. (kubernetes#47938).
|
||||
defaultSandboxOOMAdj = -998
|
||||
// defaultSandboxCPUshares is default cpu shares for sandbox container.
|
||||
defaultSandboxCPUshares = 2
|
||||
// defaultShmSize is the default size of the sandbox shm.
|
||||
defaultShmSize = int64(1024 * 1024 * 64)
|
||||
// relativeRootfsPath is the rootfs path relative to bundle path.
|
||||
|
||||
Reference in New Issue
Block a user