k3s/pkg/kubelet/cm
Kubernetes Submit Queue 69342bd1df Merge pull request #43005 from cmluciano/cml/consolidatesysctl
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
```
2017-06-07 13:30:54 -07:00
..
util autogenerated 2017-04-14 10:40:57 -07:00
BUILD Moved qos to api.helpers. 2017-05-20 07:17:57 -04:00
cgroup_manager_linux.go Fix naming and comments in Container Manage 2017-05-26 10:53:09 +08:00
cgroup_manager_linux_test.go stop double encoding systemd style cgroup names 2017-02-21 16:34:21 -05:00
cgroup_manager_test.go kubelet: enable qos-level memory request reservation 2017-03-02 15:04:13 -06:00
cgroup_manager_unsupported.go kubelet: enable qos-level memory request reservation 2017-03-02 15:04:13 -06:00
container_manager.go Fix naming and comments in Container Manage 2017-05-26 10:53:09 +08:00
container_manager_linux.go Merge pull request #43005 from cmluciano/cml/consolidatesysctl 2017-06-07 13:30:54 -07:00
container_manager_linux_test.go Fix naming and comments in Container Manage 2017-05-26 10:53:09 +08:00
container_manager_stub.go kubelet: cm: refactor QoS logic into seperate interface 2017-02-28 09:19:29 -06:00
container_manager_unsupported.go kubelet: cm: refactor QoS logic into seperate interface 2017-02-28 09:19:29 -06:00
container_manager_unsupported_test.go Merge pull request #31707 from apprenda/windows_infra_container 2016-11-06 01:30:11 -07:00
container_manager_windows.go kubelet: cm: refactor QoS logic into seperate interface 2017-02-28 09:19:29 -06:00
helpers_linux.go Moved qos to api.helpers. 2017-05-20 07:17:57 -04:00
helpers_linux_test.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
helpers_unsupported.go cmd/kubelet 2016-11-23 15:53:09 -08:00
node_container_manager.go Add predicates check for local storage request 2017-06-01 15:57:50 -07:00
node_container_manager_test.go add support for node allocatable phase 2 to kubelet 2017-02-27 21:24:44 -08:00
pod_container_manager_linux.go Fix naming and comments in Container Manage 2017-05-26 10:53:09 +08:00
pod_container_manager_stub.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
pod_container_manager_unsupported.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
qos_container_manager_linux.go Moved qos to api.helpers. 2017-05-20 07:17:57 -04:00
types.go Fix naming and comments in Container Manage 2017-05-26 10:53:09 +08:00