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

16 lines
336 B
YAML
Raw Normal View History

2024-01-13 11:47:30 -06:00
---
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"] }