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

17 lines
433 B
YAML
Raw Permalink Normal View History

2024-02-17 09:03:13 -06:00
# yaml-language-server: $schema=https://ks.hsn.dev/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json
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"] }