Merge pull request #24297 from pjhwa/fix-24296

Fix issue with tasks/administer-cluster/out-of-resource/
This commit is contained in:
Kubernetes Prow Robot 2020-10-02 10:12:48 -07:00 committed by GitHub
commit f9f21ac636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ like `free -m`. This is important because `free -m` does not work in a
container, and if users use the [node container, and if users use the [node
allocatable](/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable) feature, out of resource decisions allocatable](/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable) feature, out of resource decisions
are made local to the end user Pod part of the cgroup hierarchy as well as the are made local to the end user Pod part of the cgroup hierarchy as well as the
root node. This [script](/docs/tasks/administer-cluster/memory-available.sh) root node. This [script](/examples/admin/resource/memory-available.sh)
reproduces the same set of steps that the `kubelet` performs to calculate reproduces the same set of steps that the `kubelet` performs to calculate
`memory.available`. The `kubelet` excludes inactive_file (i.e. # of bytes of `memory.available`. The `kubelet` excludes inactive_file (i.e. # of bytes of
file-backed memory on inactive LRU list) from its calculation as it assumes that file-backed memory on inactive LRU list) from its calculation as it assumes that