Fix issue with tasks/administer-cluster/out-of-resource/

This commit is contained in:
Jerry Park
2020-10-01 12:57:14 +09:00
parent 28980202c1
commit 45a5a5210f
2 changed files with 1 additions and 1 deletions
@@ -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