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
Markus Lehtonen 4b066ed815 source/local: support non-binary labels
Make the feature detector hooks, run by the 'local' feature source,
support non-binary label values. Hooks can advertise non-binary value by
using <name>=<value> format.

For example, /etc/kubernetes/node-feature-discovery/source.d/myhook
having the following stdout:
LABEL_1
LABEL_2=foobar

Would translate into the following labels:
feature.node.kubernetes.io/myhook-LABEL_1 = true
feature.node.kubernetes.io/myhook-LABEL_2 = foobar
2018-11-30 11:51:41 +02:00
..
cpuid Support for non-binary labels 2018-10-10 13:21:49 +03:00
fake Support for non-binary labels 2018-10-10 13:21:49 +03:00
iommu Support for non-binary labels 2018-10-10 13:21:49 +03:00
kernel Implement kernel version detection 2018-10-10 13:21:49 +03:00
local source/local: support non-binary labels 2018-11-30 11:51:41 +02:00
memory Support for non-binary labels 2018-10-10 13:21:49 +03:00
network Support for non-binary labels 2018-10-10 13:21:49 +03:00
panic_fake Support for non-binary labels 2018-10-10 13:21:49 +03:00
pci Support for non-binary labels 2018-10-10 13:21:49 +03:00
pstate Support for non-binary labels 2018-10-10 13:21:49 +03:00
rdt Support for non-binary labels 2018-10-10 13:21:49 +03:00
selinux Support for non-binary labels 2018-10-10 13:21:49 +03:00
storage Support for non-binary labels 2018-10-10 13:21:49 +03:00
source.go Support for non-binary labels 2018-10-10 13:21:49 +03:00