Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.29 KB

nfd-gc.md

File metadata and controls

36 lines (28 loc) · 1.29 KB
title layout sort
NFD-Garbage-Collector
default
6

NFD-GC

{: .no_toc}


NFD-GC (NFD Garbage-Collector) is preferably run as a Kubernetes deployment with one replica. It makes sure that all NodeFeature and NodeResourceTopology objects have corresponding nodes and removes stale objects for non-existent nodes.

The daemon watches for Node deletion events and removes NodeFeature and NodeResourceTopology objects upon them. It also runs periodically to make sure no node delete event was missed and to remove any NodeFeature or NodeResourceTopology objects that were created without corresponding node. The default garbage collector interval is set to 1h which is the value when no -gc-interval is specified.

Configuration

In Helm deployments see garbage collector parameters for altering the nfd-gc configuration.

List Pagination & Scalability

When NFD GC runs up it lists nodefeatures from api-server. These resources can be large and in a large cluster this initial list call to sync the informer cache can be expensive and heavy on api-server/etcd. You can use the list-size argument to control pagination size to help control the load from this list.