1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

docs: nfd-updater: clarify accounting

Clarify that we account, and we can account, only
resources exclusively allocated to Guaranteed QoS pods.

Signed-off-by: Francesco Romani <fromani@redhat.com>
This commit is contained in:
Francesco Romani 2023-08-31 08:41:44 +02:00
parent 8cf4a21d62
commit 727875f240

View file

@ -17,6 +17,15 @@ resources and hence the allocatable resources on a per-zone basis by updating
It makes sure that new NodeResourceTopology instances are created for each new It makes sure that new NodeResourceTopology instances are created for each new
nodes that get added to the cluster. nodes that get added to the cluster.
Because of the design and implementation of Kubernetes, only resources exclusively
allocated to [Guaranteed Quality of Service](https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#guaranteed)
pods will be accounted.
This includes
[CPU cores](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy),
[memory](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policy-static)
and
[devices](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/).
When run as a daemonset, nodes are re-examined for the allocated resources When run as a daemonset, nodes are re-examined for the allocated resources
(to determine the information of the allocatable resources on a per-zone basis (to determine the information of the allocatable resources on a per-zone basis
where a zone can be a NUMA node) at an interval specified using the where a zone can be a NUMA node) at an interval specified using the