Skip to content

Instantly share code, notes, and snippets.

@badnetmask
Last active December 12, 2025 22:53
Show Gist options
  • Select an option

  • Save badnetmask/d1d9df4399cf85214be61254ca363b12 to your computer and use it in GitHub Desktop.

Select an option

Save badnetmask/d1d9df4399cf85214be61254ca363b12 to your computer and use it in GitHub Desktop.
---
# Custom NodeFeatureRule for AMD GPUs not in the GPU Operator's default list
# This adds support for AMD Strix Halo (device ID 1586) - RX 7900 GRE / Radeon 8050S / Radeon 8060S
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: amd-gpu-custom-label-rule
spec:
rules:
- name: amd-gpu-custom
labels:
feature.node.kubernetes.io/amd-gpu: "true"
matchAny:
# AMD Strix Halo / Radeon 8050S / Radeon 8060S / RX 7900 GRE
- matchFeatures:
- feature: pci.device
matchExpressions:
device:
op: In
value:
- "1586"
vendor:
op: In
value:
- "1002"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment