1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 08:17:04 +00:00
node-feature-discovery/source
Marc Sluiter 7038e49d02
source/custom: Add nodename rule
There are cases when the only available metadata for discovering
features is the node's name. The "nodename" rule extends the custom
source and matches when the node's name matches one of the given
nodename regexp patterns.
It is also possible now to set an optional "value" on custom rules,
which overrides the default "true" label value in case the rule matches.
In order to allow more dynamic configurations without having to modify
the complete worker configuration, custom rules are additionally read
from a "custom.d" directory now. Typically that directory will be filled
by mounting one or more ConfigMaps.

Signed-off-by: Marc Sluiter <msluiter@redhat.com>
2021-02-24 16:26:35 +01:00
..
cpu source/cpu: move cpuid code to a shared internal package 2020-09-14 10:32:04 +03:00
custom source/custom: Add nodename rule 2021-02-24 16:26:35 +01:00
fake source/fake: make the fake source configurable 2021-02-17 21:50:58 +02:00
internal go.mod: update to klauspost/cpuid/v2@v2.02 2020-12-15 15:56:15 +02:00
iommu nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
kernel kernel: more agressively sanitize full kernel version 2020-11-23 19:04:12 +02:00
local nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
memory nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
network source/network: run discovery under host sysfs 2020-05-21 20:33:30 +03:00
panic_fake nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
pci nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
storage nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
system nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
usb nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
config.go source: parametrise host directory paths 2020-05-20 22:15:41 +03:00
mock_FeatureSource.go nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
source.go nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00