Study. uk . com
  1. Home
  2. All questions
  3. Question 687

CKA study material · question 687 of 1000

How does the kubelet calculate memory.available for eviction purposes?

  1. Node capacity minus the sum of all Pod memory requests
  2. Node capacity minus the node's memory working set
  3. Free memory as reported by the kernel, including page cache
  4. Allocatable memory minus the sum of all Pod memory limits
Show the answer

Answer: B. Node capacity minus the node's memory working set

The signal is capacity minus working set, which excludes reclaimable page cache — so a node with a large cache is not judged to be out of memory.

Source: Node-pressure Eviction (Kubernetes) — Eviction signals

Challenge yourself on this topic → Study as cards