k3s/cmd/kubelet
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
..
app Merge pull request #43005 from cmluciano/cml/consolidatesysctl 2017-06-07 13:30:54 -07:00
BUILD autogenerated 2017-04-14 10:40:57 -07:00
OWNERS Update OWNERS 2017-01-18 15:18:04 -08:00
kubelet.go Group container-runtime-specific flags/options together 2017-05-30 08:10:39 -07:00