apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization helmCharts: - name: amd-gpu repo: https://rocm.github.io/k8s-device-plugin/ version: 0.22.0 releaseName: amd-gpu-device-plugin namespace: gpu-system valuesFile: values.yaml includeCRDs: true # The chart always adds the NFD label feature.node.kubernetes.io/pci-0300_1002.present # to the selector; NFD is not installed (and would not match this iGPU), so replace it. patches: - target: group: apps version: v1 kind: DaemonSet name: amd-gpu-device-plugin-daemonset patch: |- - op: replace path: /spec/template/spec/nodeSelector value: homelab.hexor.cy/pool: core homelab.hexor.cy/exposure: internal kubernetes.io/arch: amd64 workload/ai: "true"