diff options
| author | Kubernetes Submit Queue <k8s-merge-robot@users.noreply.github.com> | 2016-08-18 09:17:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-18 09:17:06 -0700 |
| commit | e46e73a4dcc5cdda6f638d4b2793fb764ed12512 (patch) | |
| tree | 9a697f1fb8be3d2aa74105cf1c3e983005158273 | |
| parent | 39310a68ba849c013357951ef10ba8e86bbf3036 (diff) | |
| parent | 4693143bcf7d32567cf29e2b9aea2d94c314f20f (diff) | |
Merge pull request #30311 from derekwaynecarr/inode_eviction
Automatic merge from submit-queue
kubelet eviction on inode exhaustion
Add support for kubelet to monitor for inode exhaustion of either image or rootfs, and in response, attempt to reclaim node level resources and/or evict pods.
| -rw-r--r-- | kubelet-eviction.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kubelet-eviction.md b/kubelet-eviction.md index 4ac85765..02c921ad 100644 --- a/kubelet-eviction.md +++ b/kubelet-eviction.md @@ -478,9 +478,19 @@ for eviction. Instead `DaemonSet` should ideally include Guaranteed pods only. ## Known issues +### kubelet may evict more pods than needed + The pod eviction may evict more pods than needed due to stats collection timing gap. This can be mitigated by adding the ability to get root container stats on an on-demand basis (https://github.com/google/cadvisor/issues/1247) in the future. +### How kubelet ranks pods for eviction in response to inode exhaustion + +At this time, it is not possible to know how many inodes were consumed by a particular container. If the `kubelet` observes +inode exhaustion, it will evict pods by ranking them by quality of service. The following issue has been opened in cadvisor +to track per container inode consumption (https://github.com/google/cadvisor/issues/1422) which would allow us to rank pods +by inode consumption. For example, this would let us identify a container that created large numbers of 0 byte files, and evict +that pod over others. + <!-- BEGIN MUNGE: GENERATED_ANALYTICS --> []() <!-- END MUNGE: GENERATED_ANALYTICS --> |
