mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Consolidate sysctl commands for kubelet
These commands are important enough to be in the Kubelet itself. By default, Ubuntu 14.04 and Debian Jessie have these set to 200 and 20000. Without this setting, nodes are limited in the number of containers that they can start.
This commit is contained in:
@@ -312,6 +312,8 @@ func setupKernelTunables(option KernelTunableBehavior) error {
|
||||
utilsysctl.VmPanicOnOOM: utilsysctl.VmPanicOnOOMInvokeOOMKiller,
|
||||
utilsysctl.KernelPanic: utilsysctl.KernelPanicRebootTimeout,
|
||||
utilsysctl.KernelPanicOnOops: utilsysctl.KernelPanicOnOopsAlways,
|
||||
utilsysctl.RootMaxKeys: utilsysctl.RootMaxKeysSetting,
|
||||
utilsysctl.RootMaxBytes: utilsysctl.RootMaxBytesSetting,
|
||||
}
|
||||
|
||||
sysctl := utilsysctl.New()
|
||||
|
||||
Reference in New Issue
Block a user