Compare commits

...

2 Commits

Author SHA1 Message Date
Martyn 89f582b6a1 Unintentional vendoring
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-02-21 14:46:02 +00:00
Martyn 9ce01b80d7 Make the gpus selectable
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-02-21 14:45:29 +00:00
1 changed files with 9 additions and 4 deletions

View File

@ -25,7 +25,8 @@ patches:
path: /data/nfd-worker.conf
value: |-
core:
sources: ["custom", "pci", "usb"]
sources:
- "all"
sources:
usb:
deviceClassWhitelist:
@ -48,6 +49,10 @@ patches:
- "subsystem_device"
custom:
- name: "intel-gpu" # Intel integrated GPU
matchOn:
- pciId:
class: ["0300"]
labels:
"intel.feature.node.kubernetes.io/gpu": "true"
matchFeatures:
- feature: pci.device
matchExpressions:
class: {op: In, value: ["0300"]}
vendor: {op: In, value: ["8086"]}