k3s/pkg/kubelet
Kubernetes Submit Queue 743e4fba63
Merge pull request #67709 from feiskyer/inodes-clean
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

 Kubelet: only apply default hard evictions of nodefs.inodesFree on Linux

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

Kubelet sets default hard evictions of `nodefs.inodesFree ` for all platforms today. This will cause errors on Windows and a lot `no observation found for eviction signal nodefs.inodesFree` errors will be logs for kubelet.

```
kubelet.err.log:4961:W0711 22:21:12.378789    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
kubelet.err.log:4967:W0711 22:21:30.411371    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
kubelet.err.log:4974:W0711 22:21:48.446456    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
kubelet.err.log:4978:W0711 22:22:06.482441    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
```

This PR updates the default hard eviction value and only apply nodefs.inodesFree on Linux.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
Kubelet only applies default hard evictions of nodefs.inodesFree on Linux
```
2018-09-04 23:08:30 -07:00
..
apis Kubelet: only apply default hard evictions of nodefs.inodesFree on Linux 2018-09-03 16:42:30 +08:00
cadvisor Remove --cadvisor-port - has been deprecated since v1.10 2018-07-02 08:54:14 -04:00
certificate Merge pull request #66056 from mikedanese/fixhang 2018-08-30 20:16:32 -07:00
checkpoint Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
checkpointmanager
client Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cloudresource Reduce verbose logs of node addresses requesting 2018-08-21 13:23:01 +08:00
cm fix #51135 make CFS quota period configurable, adds a cli flag and config option to kubelet to be able to set cpu.cfs_period and defaults to 100ms as before. 2018-09-01 20:19:59 +02:00
config remove duplicated import 2018-08-01 13:27:42 +08:00
configmap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
container kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
custommetrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
dockershim Kubelet: do not report used inodes on Windows 2018-09-03 16:42:33 +08:00
envvars K8s SCTP support implementation for the first pull request 2018-08-27 05:56:27 +00:00
events delete unused events 2018-07-17 14:19:50 +08:00
eviction move feature gate checks inside IsCriticalPod 2018-07-11 16:10:05 -05:00
images indent error flow 2018-08-13 17:31:31 +08:00
kubeletconfig autogenerated go code, godeps, bazel and gofmt 2018-09-02 14:38:59 +03:00
kuberuntime fix #51135 make CFS quota period configurable, adds a cli flag and config option to kubelet to be able to set cpu.cfs_period and defaults to 100ms as before. 2018-09-01 20:19:59 +02:00
leaky
lifecycle ProcMount: add api options and feature gate 2018-08-30 11:40:02 -04:00
logs Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
metrics fix metrics help comment 2018-07-13 10:26:35 +09:00
mountpod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
network Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
nodelease Kubelet creates and manages node leases 2018-08-26 16:03:36 -07:00
nodestatus Honor --hostname-override, report compatible hostname addresses with cloud provider 2018-08-28 11:21:01 -04:00
pleg Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pod Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
preemption Compared preemption by priority. 2018-08-04 11:33:07 +08:00
prober Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
qos Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
remote Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
secret Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
server Merge pull request #66427 from feiskyer/win-pods-stats 2018-09-04 21:59:49 -07:00
stats Kubelet: do not report used inodes on Windows 2018-09-03 16:42:33 +08:00
status Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
sysctl Run make update 2018-06-06 00:12:40 +02:00
token Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
types remove rescheduler 2018-08-22 11:49:14 +08:00
util Add unit tests for methods of pod's format 2018-07-17 15:37:13 +08:00
volumemanager Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
winstats Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Pass new CSI API Client and informer to Volume Plugins 2018-08-31 12:25:59 -07:00
OWNERS Add labels to kubelet OWNERS files 2018-08-22 00:43:32 +03:00
active_deadline.go
active_deadline_test.go
doc.go
kubelet.go fix #51135 make CFS quota period configurable, adds a cli flag and config option to kubelet to be able to set cpu.cfs_period and defaults to 100ms as before. 2018-09-01 20:19:59 +02:00
kubelet_getters.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
kubelet_getters_test.go
kubelet_network.go Reduce latency to node ready after CIDR is assigned. 2018-08-22 10:43:58 +02:00
kubelet_network_test.go
kubelet_node_status.go Merge pull request #67739 from liggitt/hostname-override 2018-08-28 12:31:00 -07:00
kubelet_node_status_test.go Kubelet creates and manages node leases 2018-08-26 16:03:36 -07:00
kubelet_pods.go kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
kubelet_pods_test.go Merge pull request #64006 from Random-Liu/streaming-auth 2018-05-31 22:45:29 -07:00
kubelet_pods_windows_test.go Add dynamic environment variable substitution to subpaths 2018-05-29 17:01:09 +01:00
kubelet_resources.go
kubelet_resources_test.go Cleanup verbose cAdvisor mocking in Kubelet unit tests 2018-06-27 11:53:41 -07:00
kubelet_test.go Kubelet creates and manages node leases 2018-08-26 16:03:36 -07:00
kubelet_volumes.go
kubelet_volumes_test.go Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
oom_watcher.go
oom_watcher_test.go
pod_container_deletor.go kubelet: force filterContainerID to empty string when removeAll is true 2018-04-30 16:29:17 -05:00
pod_container_deletor_test.go
pod_workers.go Fix pod worker deadlock. 2018-07-09 11:45:26 -07:00
pod_workers_test.go
reason_cache.go
reason_cache_test.go
runonce.go
runonce_test.go implement service account token projection 2018-06-04 17:22:08 -07:00
runtime.go cleanup some dead kubelet code 2018-05-29 22:38:01 +08:00
util.go
volume_host.go Pass new CSI API Client and informer to Volume Plugins 2018-08-31 12:25:59 -07:00