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

17 lines
433 B
YAML
Raw Permalink Normal View History

2024-09-06 22:09:23 -05:00
---
2024-10-11 18:12:26 -05:00
# yaml-language-server: $schema=https://ks.hsn.dev/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json
2024-09-06 22:09:23 -05: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"] }