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/pkg/nfd-master
Markus Lehtonen dc5af8be04 nfd-master: predictable handling of unprefixed names
Make the handling of unprefixed names (of labels, annotations and
extended resources) well-defined and predictable. Previously the
resulting output was not predictable in case the same name was coming in
both the unprefixed and prefixed form, say unprefixed "foo=bar" coming from
one source (be it nfd-worker or NodeFeature(Rule)) and
"feature.node.kubernetes.io/foo=baz" from a NodeFeature(Rule).
Previously the output value was randomly either "bar" or "baz".

This patch adds prefixes to all names early in the processing
"pipeline", preventing random name clashes later on.
2023-11-23 22:16:04 +02:00
..
metrics.go Refactor metrics 2023-10-09 10:49:12 +03:00
nfd-api-controller.go pkg/utils: migrate KlogDump to structured logging 2023-05-31 14:43:08 +03:00
nfd-api-controller_test.go nfd-master: refactor api-controller object handling 2023-04-28 17:33:33 +03:00
nfd-master-internal_test.go nfd-master: predictable handling of unprefixed names 2023-11-23 22:16:04 +02:00
nfd-master.go nfd-master: predictable handling of unprefixed names 2023-11-23 22:16:04 +02:00
nfd-master_test.go Add master config file 2023-04-03 09:52:09 +01:00
node-updater-pool.go nfd-master: fix retry of node updates 2023-10-20 17:24:01 +03:00
node-updater-pool_test.go test: add node updater pool unit tests 2023-07-19 12:03:35 +01:00