theshire/kubernetes/apps/system/node-feature-discovery/rules/nvidia.yaml

15 lines
336 B
YAML

---
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: nvidia-device
spec:
rules:
- # NVIDIA GPU
name: nvidia.com/gpu
labels:
nvidia.com/gpu.present: "true"
matchFeatures:
- feature: pci.device
matchExpressions:
vendor: { op: In, value: ["10de"] }