Merge pull request #24297 from pjhwa/fix-24296
Fix issue with tasks/administer-cluster/out-of-resource/
This commit is contained in:
commit
f9f21ac636
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue