1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 21:08:23 +00:00
node-feature-discovery/deployment/base
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
..
master Add livenessProbe via grpc to nfd-master 2021-08-18 10:23:10 -05:00
master-worker-combined kustomize: fix broken master-worker-combined base 2021-08-19 23:22:28 +03:00
nfd-crds source/memory: implement FeatureSource 2021-11-23 15:08:15 +02:00
noderesourcetopologies-crd NFD-Topology-Updater: Bump NRT API to version v0.0.12 2021-11-16 13:28:23 +00:00
rbac nfd-master: implement controller for NodeFeatureRule CRs 2021-11-22 16:57:42 +02:00
rbac-topologyupdater topologyupdater: manifests: topologyupdater deployment files 2021-09-21 10:48:10 +01:00
topologyupdater-daemonset deployment: clean up base/topologyupdater-daemonset 2021-10-06 21:42:31 +03:00
worker-daemonset deployment: add kustomize base 2021-08-18 14:05:57 +03:00
worker-job kustomize: add Job example deployment 2021-08-18 15:10:25 +03:00