cri: add overhead, resources to linux sandbox config
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
This commit is contained in:
@@ -330,6 +330,10 @@ message LinuxPodSandboxConfig {
|
|||||||
LinuxSandboxSecurityContext security_context = 2;
|
LinuxSandboxSecurityContext security_context = 2;
|
||||||
// Sysctls holds linux sysctls config for the sandbox.
|
// Sysctls holds linux sysctls config for the sandbox.
|
||||||
map<string, string> sysctls = 3;
|
map<string, string> sysctls = 3;
|
||||||
|
// Optional overhead represents the overheads associated with this sandbox
|
||||||
|
LinuxContainerResources overhead = 4;
|
||||||
|
// Optional resources represents the sum of container resources for this sandbox
|
||||||
|
LinuxContainerResources resources = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// PodSandboxMetadata holds all necessary information for building the sandbox name.
|
// PodSandboxMetadata holds all necessary information for building the sandbox name.
|
||||||
|
|||||||
@@ -329,6 +329,10 @@ message LinuxPodSandboxConfig {
|
|||||||
LinuxSandboxSecurityContext security_context = 2;
|
LinuxSandboxSecurityContext security_context = 2;
|
||||||
// Sysctls holds linux sysctls config for the sandbox.
|
// Sysctls holds linux sysctls config for the sandbox.
|
||||||
map<string, string> sysctls = 3;
|
map<string, string> sysctls = 3;
|
||||||
|
// Optional overhead represents the overheads associated with this sandbox
|
||||||
|
LinuxContainerResources overhead = 4;
|
||||||
|
// Optional resources represents the sum of container resources for this sandbox
|
||||||
|
LinuxContainerResources resources = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// PodSandboxMetadata holds all necessary information for building the sandbox name.
|
// PodSandboxMetadata holds all necessary information for building the sandbox name.
|
||||||
|
|||||||
Reference in New Issue
Block a user