kubernetes/pkg/kubelet/cm
Kubernetes Submit Queue fae79dd4b4 Merge pull request #47181 from dims/fail-on-swap-enabled
Automatic merge from submit-queue (batch tested with PRs 50119, 48366, 47181, 41611, 49547)

Fail on swap enabled and deprecate experimental-fail-swap-on flag

**What this PR does / why we need it**:

    * Deprecate the old experimental-fail-swap-on
    * Add a new flag fail-swap-on and set it to true

    Before this change, we would not fail when swap is on. With this
    change we fail for everyone when swap is on, unless they explicitly
    set --fail-swap-on to false.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

Fixes #34726

**Special notes for your reviewer**:

**Release note**:

```release-note
Kubelet will by default fail with swap enabled from now on. The experimental flag "--experimental-fail-swap-on" has been deprecated, please set the new "--fail-swap-on" flag to false if you wish to run with /proc/swaps on.
```
2017-08-04 14:29:36 -07:00
..
util Fix some typos 2017-07-27 21:31:31 +08:00
BUILD Refactor: pkg/util into sub-pkgs 2017-07-18 14:34:08 +08:00
cgroup_manager_linux_test.go stop double encoding systemd style cgroup names 2017-02-21 16:34:21 -05:00
cgroup_manager_linux.go Fix some typos 2017-07-27 21:31:31 +08:00
cgroup_manager_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
cgroup_manager_unsupported.go kubelet: enable qos-level memory request reservation 2017-03-02 15:04:13 -06:00
container_manager_linux_test.go Fixes bind-mount teardown failure with non-mount point Local volumes 2017-07-11 17:19:58 -04:00
container_manager_linux.go Fail on swap enabled and deprecate experimental-fail-swap-on flag 2017-08-02 16:20:01 -04:00
container_manager_stub.go Kubelet: 2017-06-27 18:45:02 -07:00
container_manager_unsupported_test.go Fixes bind-mount teardown failure with non-mount point Local volumes 2017-07-11 17:19:58 -04:00
container_manager_unsupported.go Implement GetCapacity in container_manager_unsupported 2017-06-29 10:22:57 +08:00
container_manager_windows.go run hack/update-all 2017-06-22 11:31:03 -07:00
container_manager.go Kubelet: 2017-06-27 18:45:02 -07:00
helpers_linux_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
helpers_linux.go Remove useless error 2017-07-03 14:59:54 +08:00
helpers_unsupported.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
node_container_manager_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
node_container_manager.go Merge pull request #48976 from supereagle/cleanup-api-package 2017-07-25 12:14:38 -07:00
pod_container_manager_linux.go Fix some typos 2017-07-27 21:31:31 +08:00
pod_container_manager_stub.go run hack/update-all 2017-06-22 11:31:03 -07:00
pod_container_manager_unsupported.go run hack/update-all 2017-06-22 11:31:03 -07:00
qos_container_manager_linux.go Fix some typos 2017-07-27 21:31:31 +08:00
types.go Fix some typos 2017-07-27 21:31:31 +08:00