Skip to content

Commit

Permalink
Adding GFD
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Nov 11, 2023
1 parent 2459b4e commit 387fae9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions manifests/workloads/nvidia/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,28 @@ helmCharts:
version: 0.14.2
valuesInline:
runtimeClassName: nvidia
gfd:
enabled: true
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
# On discrete-GPU based systems NFD adds the following label where 10de is the NVIDIA PCI vendor ID
- key: feature.node.kubernetes.io/pci-10de.present
operator: In
values:
- "true"
- matchExpressions:
# On some Tegra-based systems NFD detects the CPU vendor ID as NVIDIA
- key: feature.node.kubernetes.io/cpu-model.vendor_id
operator: In
values:
- "NVIDIA"
- matchExpressions:
# We allow a GPU deployment to be forced by setting the following label to "true"
- key: "nvidia.com/gpu.present"
operator: In
values:
- "true"

0 comments on commit 387fae9

Please sign in to comment.