1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-30 19:54:46 +00:00
node-feature-discovery/pkg/resourcemonitor
Talor Itzhak 5b0788ced4 topology-updater: introduce exclude-list
The exclude-list allows to filter specific resource accounting
from NRT's objects per node basis.

The CRs created by the topology-updater are used by the scheduler-plugin
as a source of truth for making scheduling decisions.
As such, this feature allows to hide specific information
from the scheduler, which in turn
will affect the scheduling decision.
A common use case is when user would like to perform scheduling
decisions which are based on a specific resource.
In that case, we can exclude all the other resources
which we don't want the scheduler to exemine.

The exclude-list is provided to the topology-updater via a ConfigMap.
Resource type's names specified in the list should match the names
as shown here: https://pkg.go.dev/k8s.io/api/core/v1#ResourceName

This is a resurrection of an old work started here:
https://github.com/kubernetes-sigs/node-feature-discovery/pull/545

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2022-11-21 14:08:25 +02:00
..
excludelist.go topology-updater: introduce exclude-list 2022-11-21 14:08:25 +02:00
excludelist_test.go topology-updater: introduce exclude-list 2022-11-21 14:08:25 +02:00
noderesourcesaggregator.go topology-updater: introduce exclude-list 2022-11-21 14:08:25 +02:00
noderesourcesaggregator_test.go topology-updater: introduce exclude-list 2022-11-21 14:08:25 +02:00
podresourcesscanner.go Standardize "k8s.io/api/core/v1" package short name 2022-10-15 02:22:41 +03:00
podresourcesscanner_test.go resourcemonitor: aggregate and provide the memory and hugepages information 2021-11-04 10:17:10 +02:00
types.go get kubelet config from configz 2022-11-08 23:52:35 +08:00