• Kubernetes Submit Queue's avatar
    Merge pull request #43005 from cmluciano/cml/consolidatesysctl · 69342bd1
    Kubernetes Submit Queue authored
    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
    ```
    69342bd1
Name
Last commit
Last update
..
app Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
kubelet.go Loading commit data...