1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 16:27:05 +00:00
node-feature-discovery/samples
Markus Lehtonen 49886ed635 Add sample NodeFeatureRules for all built-in labels
This patch adds sample NodeFeatureRules that correspond the built-in
labels created by nfd-worker (with its default configuration).

The samples provide examples on how to utilize NodeFeatureRules and an
easy way to modify the labels being generated. In order to replace the
built-in node labeling of nfd-worker with these sample rules, all node
labeling from nfd-worker must be disabled by setting the
"core.labelSources" configuration option to an empty list (or specify
"-label-sources= " on the command line). Then, with all nfd-worker side
labeling disabled, just apply the rules with

  kubectl apply -f samples/
2023-12-15 11:32:23 +02:00
..
nodefeaturerule-cpu.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-custom.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-kernel.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-local.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-memory.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-network.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-pci.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-storage.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-system.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00
nodefeaturerule-usb.yaml Add sample NodeFeatureRules for all built-in labels 2023-12-15 11:32:23 +02:00