2023-11-14 15:36:44 +00:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
namespace: node-feature-discovery
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- namespace.yaml
|
|
|
|
|
|
|
|
helmCharts:
|
|
|
|
- name: node-feature-discovery
|
|
|
|
includeCRDs: true
|
|
|
|
namespace: node-feature-discovery
|
|
|
|
releaseName: node-feature-discovery
|
2024-02-21 13:33:37 +00:00
|
|
|
version: 0.15.1
|
2023-11-14 15:36:44 +00:00
|
|
|
repo: https://kubernetes-sigs.github.io/node-feature-discovery/charts
|
2024-02-21 12:44:23 +00:00
|
|
|
valuesInLine:
|
|
|
|
master:
|
|
|
|
extraLabelNs: [gpu.intel.com]
|
2023-11-14 15:36:44 +00:00
|
|
|
|
|
|
|
patches:
|
|
|
|
- target:
|
|
|
|
kind: ConfigMap
|
|
|
|
name: node-feature-discovery-worker-conf
|
|
|
|
patch: |-
|
|
|
|
- op: replace
|
|
|
|
path: /data/nfd-worker.conf
|
|
|
|
value: |-
|
2024-02-21 14:13:58 +00:00
|
|
|
core:
|
2024-02-21 14:45:29 +00:00
|
|
|
sources:
|
|
|
|
- "all"
|
2023-11-14 15:36:44 +00:00
|
|
|
sources:
|
|
|
|
usb:
|
|
|
|
deviceClassWhitelist:
|
|
|
|
- "02"
|
|
|
|
- "08"
|
|
|
|
- "0e"
|
|
|
|
- "ef"
|
|
|
|
- "fe"
|
|
|
|
- "ff"
|
|
|
|
deviceLabelFields:
|
|
|
|
- "class"
|
|
|
|
- "vendor"
|
|
|
|
- "device"
|
|
|
|
pci:
|
|
|
|
deviceLabelFields:
|
|
|
|
- "class"
|
|
|
|
- "vendor"
|
|
|
|
- "device"
|
|
|
|
- "subsystem_vendor"
|
|
|
|
- "subsystem_device"
|
2024-02-21 14:13:58 +00:00
|
|
|
custom:
|
|
|
|
- name: "intel-gpu" # Intel integrated GPU
|
2024-02-21 14:45:29 +00:00
|
|
|
labels:
|
|
|
|
"intel.feature.node.kubernetes.io/gpu": "true"
|
|
|
|
matchFeatures:
|
|
|
|
- feature: pci.device
|
|
|
|
matchExpressions:
|
|
|
|
class: {op: In, value: ["0300"]}
|
|
|
|
vendor: {op: In, value: ["8086"]}
|