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/test/e2e/e2e-test-config.example.yaml
Markus Lehtonen 1d8a83b045 nfd-master: stop creating NFD version annotations
We now have metrics for getting detailed information about the NFD
instances running. There should be no need to pollute the node object
with NFD version annotations.

One problem with the annotations also that they were incomplete in the
sense that they only covered nfd-master and nfd-worker but not
nfd-topology-updater or nfd-gc.

Also, there was a problem with stale annotations, giving misleading
information. E.g. there was no way to remove old/stale master.version
annotations if nfd-master was scheduled on another node where it was
previously running.
2023-10-05 14:53:29 +03:00

116 lines
6.1 KiB
YAML

defaultFeatures:
labelWhitelist:
- "feature.node.kubernetes.io/cpu-cpuid.ADX"
- "feature.node.kubernetes.io/cpu-cpuid.AESNI"
- "feature.node.kubernetes.io/cpu-cpuid.AMXBF16D"
- "feature.node.kubernetes.io/cpu-cpuid.AMXINT8"
- "feature.node.kubernetes.io/cpu-cpuid.AMXTILE"
- "feature.node.kubernetes.io/cpu-cpuid.AVX"
- "feature.node.kubernetes.io/cpu-cpuid.AVX2"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512BF16"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512BITALG"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512BW"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512CD"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512DQ"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512ER"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512F"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512FP16"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512IFMA"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512PF"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512VBMI"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512VBMI2"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512VL"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512VNNI"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512VP2INTERSECT"
- "feature.node.kubernetes.io/cpu-cpuid.AVX512VPOPCNTDQ"
- "feature.node.kubernetes.io/cpu-cpuid.ENQCMD"
- "feature.node.kubernetes.io/cpu-cpuid.FMA3"
- "feature.node.kubernetes.io/cpu-cpuid.GFNI"
- "feature.node.kubernetes.io/cpu-cpuid.HLE"
- "feature.node.kubernetes.io/cpu-cpuid.HYPERVISOR"
- "feature.node.kubernetes.io/cpu-cpuid.IBPB"
- "feature.node.kubernetes.io/cpu-cpuid.MPX"
- "feature.node.kubernetes.io/cpu-cpuid.PCONFIG"
- "feature.node.kubernetes.io/cpu-cpuid.RTM"
- "feature.node.kubernetes.io/cpu-cpuid.SHA"
- "feature.node.kubernetes.io/cpu-cpuid.STIBP"
- "feature.node.kubernetes.io/cpu-cpuid.TME"
- "feature.node.kubernetes.io/cpu-cpuid.VAES"
- "feature.node.kubernetes.io/cpu-cpuid.VMX"
- "feature.node.kubernetes.io/cpu-cpuid.VPCLMULQDQ"
- "feature.node.kubernetes.io/cpu-cstate.enabled"
- "feature.node.kubernetes.io/cpu-hardware_multithreading"
- "feature.node.kubernetes.io/cpu-model.family"
- "feature.node.kubernetes.io/cpu-model.id"
- "feature.node.kubernetes.io/cpu-model.vendor_id"
- "feature.node.kubernetes.io/cpu-power.sst_bf.enabled"
- "feature.node.kubernetes.io/cpu-pstate.status"
- "feature.node.kubernetes.io/cpu-pstate.scaling_governor"
- "feature.node.kubernetes.io/cpu-pstate.turbo"
- "feature.node.kubernetes.io/cpu-rdt.RDTCMT"
- "feature.node.kubernetes.io/cpu-rdt.RDTL3CA"
- "feature.node.kubernetes.io/cpu-rdt.RDTMBA"
- "feature.node.kubernetes.io/cpu-rdt.RDTMBM"
- "feature.node.kubernetes.io/cpu-rdt.RDTMON"
- "feature.node.kubernetes.io/kernel-config.NO_HZ"
- "feature.node.kubernetes.io/kernel-config.NO_HZ_FULL"
- "feature.node.kubernetes.io/kernel-config.NO_HZ_IDLE"
- "feature.node.kubernetes.io/kernel-config.PREEMPT"
- "feature.node.kubernetes.io/kernel-selinux.enabled"
- "feature.node.kubernetes.io/kernel-version.full"
- "feature.node.kubernetes.io/kernel-version.major"
- "feature.node.kubernetes.io/kernel-version.minor"
- "feature.node.kubernetes.io/kernel-version.revision"
- "feature.node.kubernetes.io/memory-numa"
- "feature.node.kubernetes.io/memory-nv.dax"
- "feature.node.kubernetes.io/memory-nv.present"
- "feature.node.kubernetes.io/network-sriov.capable"
- "feature.node.kubernetes.io/network-sriov.configured"
- "feature.node.kubernetes.io/pci-0300_1a03.present"
- "feature.node.kubernetes.io/storage-nonrotationaldisk"
- "feature.node.kubernetes.io/system-os_release.ID"
- "feature.node.kubernetes.io/system-os_release.VERSION_ID"
- "feature.node.kubernetes.io/system-os_release.VERSION_ID.major"
- "feature.node.kubernetes.io/system-os_release.VERSION_ID.minor"
annotationWhitelist:
- "nfd.node.kubernetes.io/feature-labels"
nodes:
- name: name-of-this-item # name is purely informational
nodeNameRegexp: my-node-regexp-1
expectedLabelValues:
"feature.node.kubernetes.io/cpu-cpuid.ADX": "true"
"feature.node.kubernetes.io/cpu-cpuid.AESNI": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX2": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX512BW": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX512CD": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX512DQ": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX512F": "true"
"feature.node.kubernetes.io/cpu-cpuid.AVX512VL": "true"
"feature.node.kubernetes.io/cpu-cpuid.FMA3": "true"
"feature.node.kubernetes.io/cpu-cpuid.HLE": "true"
"feature.node.kubernetes.io/cpu-cpuid.MPX": "true"
"feature.node.kubernetes.io/cpu-cpuid.RTM": "true"
"feature.node.kubernetes.io/cpu-model.family": "6"
"feature.node.kubernetes.io/cpu-model.id": "85"
"feature.node.kubernetes.io/cpu-model.vendor_id": "Intel"
"feature.node.kubernetes.io/cpu-hardware_multithreading": "true"
"feature.node.kubernetes.io/kernel-version.major": "4"
"feature.node.kubernetes.io/pci-0300_1d0f.present": "true"
"feature.node.kubernetes.io/storage-nonrotationaldisk": "true"
"feature.node.kubernetes.io/system-os_release.ID": "Centos"
"feature.node.kubernetes.io/system-os_release.VERSION_ID.major": "7"
expectedLabelKeys:
- "feature.node.kubernetes.io/kernel-version.full"
- "feature.node.kubernetes.io/kernel-version.major"
- "feature.node.kubernetes.io/kernel-version.minor"
- "feature.node.kubernetes.io/kernel-version.revision"
- "feature.node.kubernetes.io/system-os_release.VERSION_ID"
- "feature.node.kubernetes.io/system-os_release.VERSION_ID.minor"
expectedAnnotationKeys:
- "nfd.node.kubernetes.io/worker.version"
- "nfd.node.kubernetes.io/feature-labels"
kubelet:
configPath: "/var/lib/kubelet/config.yaml"
podResourcesSocketPath: "/var/lib/kubelet/pod-resources/kubelet.sock"