k3s/cmd/kubelet/app
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
..
options Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
BUILD Rotate kubelet client certificate. 2017-06-01 09:29:42 -07:00
OWNERS Update OWNERS 2017-01-18 15:19:06 -08:00
auth.go expose kubelet authentication and authorization builders 2017-05-04 14:35:24 -04:00
bootstrap.go kubeadm: moved import to client-go, where possible 2017-02-15 13:06:15 -08:00
bootstrap_test.go find and replace 2017-01-20 08:04:53 -05:00
plugins.go Local volume plugin 2017-05-22 14:44:51 -07:00
server.go Merge pull request #43005 from cmluciano/cml/consolidatesysctl 2017-06-07 13:30:54 -07:00
server_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
server_test.go add support for node allocatable phase 2 to kubelet 2017-02-27 21:24:44 -08:00
server_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00