Merge pull request #126096 from utam0k/support-disabling-oom-group-kill

kubelet: new kubelet config option for disabling group oom kill
This commit is contained in:
Kubernetes Prow Robot
2024-11-07 06:29:36 +00:00
committed by GitHub
25 changed files with 253 additions and 45 deletions

View File

@@ -63751,6 +63751,13 @@ func schema_k8sio_kubelet_config_v1beta1_KubeletConfiguration(ref common.Referen
Format: "",
},
},
"singleProcessOOMKill": {
SchemaProps: spec.SchemaProps{
Description: "singleProcessOOMKill, if true, will prevent the `memory.oom.group` flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. It means that if true, the behavior aligns with the behavior of cgroups v1. The default value is determined automatically when you don't specify. On non-linux such as windows, only null / absent is allowed. On cgroup v1 linux, only null / absent and true are allowed. On cgroup v2 linux, null / absent, true and false are allowed. The default value is false.",
Type: []string{"boolean"},
Format: "",
},
},
"cpuManagerPolicyOptions": {
SchemaProps: spec.SchemaProps{
Description: "cpuManagerPolicyOptions is a set of key=value which \tallows to set extra options to fine tune the behaviour of the cpu manager policies. Requires both the \"CPUManager\" and \"CPUManagerPolicyOptions\" feature gates to be enabled. Default: nil",