1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-16 05:18:19 +00:00
node-feature-discovery/deployment/helm/node-feature-discovery
Markus Lehtonen c3da439d21 source/memory: implement FeatureSource
Separate feature discovery and creation of feature labels.

Generalize the discovery of nvdimm devices so that they can be matched
in custom label rules in a similar fashion as pci and usb devices.
Available attributes for matching nvdimm devices are limited to:

- devtype
- mode

For numa we now detect the number of numa nodes which can be matched
agains in custom label rules.

Labels created by the memory feature source are unchanged. The new
features being detected are available in custom rules only.

Example custom rule:

  - name: "my memory rule"
    labels:
      my-memory-feature: "true"
    matchFeatures:
      - feature: memory.numa
        matchExpressions:
          "node_count": {op: Gt, value: ["3"]}
      - feature: memory.nv
        matchExpressions:
          "devtype" {op: In, value: ["nd_dax"]}

Also, add minimalist unit test.
2021-11-23 15:08:15 +02:00
..
manifests pkg/apis/nfd: drop excess field from the CRD 2021-11-17 16:40:28 +02:00
templates nfd-master: add -featurerules-controller flag 2021-11-22 16:57:42 +02:00
.helmignore helm: move files under deployment/helm 2021-08-16 14:44:26 +03:00
Chart.yaml deployment: optional mount of /usr/src 2021-08-26 10:52:26 +02:00
README.md helm: move files under deployment/helm 2021-08-16 14:44:26 +03:00
values.yaml source/memory: implement FeatureSource 2021-11-23 15:08:15 +02:00

Node Feature Discovery

Node Feature Discovery (NFD) is a Kubernetes add-on for detecting hardware features and system configuration. Detected features are advertised as node labels. NFD provides flexible configuration and extension points for a wide range of vendor and application specific node labeling needs.

See NFD documentation for deployment instructions.