mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 43005, 46660, 46385, 46991, 47103) Consolidate sysctl commands for kubelet **What this PR does / why we need it**: 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. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #26005 **Special notes for your reviewer**: I had a difficult time writing tests for this. It is trivial to create a fake sysctl for testing, but the Kubelet does not have any tests for the prior settings. **Release note**: ```release-note ``` |
||
---|---|---|
.. | ||
util | ||
BUILD | ||
cgroup_manager_linux.go | ||
cgroup_manager_linux_test.go | ||
cgroup_manager_test.go | ||
cgroup_manager_unsupported.go | ||
container_manager.go | ||
container_manager_linux.go | ||
container_manager_linux_test.go | ||
container_manager_stub.go | ||
container_manager_unsupported.go | ||
container_manager_unsupported_test.go | ||
container_manager_windows.go | ||
helpers_linux.go | ||
helpers_linux_test.go | ||
helpers_unsupported.go | ||
node_container_manager.go | ||
node_container_manager_test.go | ||
pod_container_manager_linux.go | ||
pod_container_manager_stub.go | ||
pod_container_manager_unsupported.go | ||
qos_container_manager_linux.go | ||
types.go |