mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
cri: add overhead, resources to linux sandbox config
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
This commit is contained in:
parent
b1361aed93
commit
b8caa328d7
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user