1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/docs/reference/topology-updater-configuration-reference.md
AhmedGrati 3fff409f6d Add master config file
Similar to the nfd-worker, in this PR we want to support the
dynamic run-time configurability through a config file for the nfd-master.

We'll use a json or yaml configuration file along with the fsnotify in
order to watch for changes in the config file. As a result, we're
allowing dynamic control of logging params, allowed namespaces,
extended resources, label whitelisting, and denied namespaces.

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-03 09:52:09 +01:00

1.1 KiB

title layout sort
Topology-Updater config reference default 6

Configuration file reference of nfd-topology-updater

{: .no_toc}

Table of contents

{: .no_toc .text-delta}

  1. TOC {:toc}

See the sample configuration file for a full example configuration.

excludeList

The excludeList specifies a key-value map of allocated resources that should not be examined by the topology-updater agent per node. Each key is a node name with a value as a list of resources that should not be examined by the agent for that specific node.

Default: empty

Example:

excludeList:
  nodeA: [hugepages-2Mi]
  nodeB: [memory]
  nodeC: [cpu, hugepages-2Mi]

excludeList.*

excludeList.* is a special value that use to specify all nodes. A resource that would be listed under this key, would be excluded from all nodes.

Default: empty

Example:

excludeList:
  '*': [hugepages-2Mi]